Pagini recente » Borderou de evaluare (job #1269825) | Borderou de evaluare (job #2421383) | Borderou de evaluare (job #2554670) | Borderou de evaluare (job #1697463) | Borderou de evaluare (job #3199358)
Borderou de evaluare (job #3199358)
Raport evaluator
Compilare:
main.cpp: In function 'bool expresie()':
main.cpp:21:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
21 | while(cnt+1<strlen(s) && (s[cnt]=='O' && s[cnt+1]=='R'))
| ~~~~~^~~~~~~~~~
main.cpp: In function 'bool termen()':
main.cpp:32:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
32 | while(cnt+2<strlen(s) && (s[cnt]=='A' && s[cnt+1]=='N' && s[cnt+2]=='D'))
| ~~~~~^~~~~~~~~~
main.cpp: In function 'bool factor()':
main.cpp:42:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
42 | if(cnt+2<strlen(s) && s[cnt]=='N' && s[cnt+1]=='O' && s[cnt+2]=='T')
| ~~~~~^~~~~~~~~~
main.cpp: In function 'bool finall()':
main.cpp:63:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
63 | if(cnt+3<strlen(s) && s[cnt]=='T' && s[cnt+1]=='R' && s[cnt+2]=='U' && s[cnt+3]=='E')
| ~~~~~^~~~~~~~~~
main.cpp:68:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
68 | else if(cnt+4<strlen(s) && s[cnt]=='F' && s[cnt+1]=='A' && s[cnt+2]=='L' && s[cnt+3]=='S' && s[cnt+4]=='E')
| ~~~~~^~~~~~~~~~
main.cpp:75:21: warning: array subscript has type 'char' [-Wchar-subscripts]
75 | res=fr[s[cnt]];
| ~~~~~^
main.cpp: In function 'int main()':
main.cpp:83:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
83 | for(int i=0; i<strlen(curr); i++)
| ~^~~~~~~~~~~~~
main.cpp:94:12: warning: array subscript has type 'char' [-Wchar-subscripts]
94 | fr[ch]=(fr[ch] ^ 1);
| ^~
main.cpp:94:20: warning: array subscript has type 'char' [-Wchar-subscripts]
94 | fr[ch]=(fr[ch] ^ 1);
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | OK | 10 |
2 | 0ms | 303kb | Incorect | 0 |
3 | 0ms | 303kb | Incorect | 0 |
4 | 0ms | 303kb | Incorect | 0 |
5 | 0ms | 303kb | OK | 10 |
6 | 0ms | 303kb | OK | 10 |
7 | 0ms | 303kb | OK | 10 |
8 | 0ms | 303kb | OK | 10 |
9 | 0ms | 303kb | OK | 10 |
10 | 0ms | 303kb | OK | 10 |
Punctaj total | 70 |