Pagini recente » Borderou de evaluare (job #1966867) | Borderou de evaluare (job #1674342) | Borderou de evaluare (job #2761195) | Borderou de evaluare (job #1678723) | Borderou de evaluare (job #1896747)
Borderou de evaluare (job #1896747)
Raport evaluator
Compilare:
user.cpp: In function ‘bool get_or(std::string)’:
user.cpp:52:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<s.size() && s[i]=='|')
^
user.cpp: In function ‘bool get_xor(std::string)’:
user.cpp:62:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<s.size() && s[i]=='^')
^
user.cpp: In function ‘bool eval(std::string)’:
user.cpp:72:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<s.size() && s[i]=='&')
^
user.cpp: In function ‘int main()’:
user.cpp:88:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<s1.size();++i)
^
user.cpp:90:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(isalpha(s1[i]) && !fol1[s1[i]])
^
user.cpp:94:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fol1[s1[i]]=1;
^
user.cpp:97:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<s2.size();++i){
^
user.cpp:98:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(isalpha(s2[i]) && !fol2[s2[i]] && !fol1[s2[i]])
^
user.cpp:98:61: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(isalpha(s2[i]) && !fol2[s2[i]] && !fol1[s2[i]])
^
user.cpp:102:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fol2[s2[i]]=1;
^
user.cpp:104:50: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(isalpha(s2[i]) && !fol2[s2[i]])
^
user.cpp:105:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{cnt2++;fol2[s2[i]]=1;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 432kb | OK | 10 |
2 | 8ms | 432kb | Incorect | 0 |
3 | 0ms | 436kb | Incorect | 0 |
4 | 12ms | 448kb | Incorect | 0 |
5 | Depăşit | 416kb | Time limit exceeded. | 0 |
6 | 32ms | 452kb | Incorect | 0 |
7 | 24ms | 436kb | Incorect | 0 |
8 | 0ms | 432kb | Incorect | 0 |
9 | 0ms | 440kb | Incorect | 0 |
10 | 40ms | 448kb | Incorect | 0 |
Punctaj total | 10 |