Borderou de evaluare (job #3199374)

Utilizator Sasha_12454Sasha Costea Sasha_12454 Data 1 februarie 2024 15:52:48
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

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
10ms303kbOK10
20ms303kbOK10
30ms303kbOK10
40ms303kbOK10
51ms303kbOK10
61ms303kbOK10
71ms303kbOK10
80ms303kbOK10
91ms303kbOK10
101ms303kbOK10
Punctaj total100

Ceva nu functioneaza?