Borderou de evaluare (job #2927984)

Utilizator AdrianRosuRosu Adrian Andrei AdrianRosu Data 21 octombrie 2022 22:26:52
Problema Logic Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'bool termen(char*)': main.cpp:10:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 10 | if(i >= strlen(row)) | ~~^~~~~~~~~~~~~~ main.cpp:14:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 14 | while(row[i] == '~' && i < strlen(row)){ | ~~^~~~~~~~~~~~~ main.cpp:18:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 18 | if(row[i] == '(' && i < strlen(row)){ | ~~^~~~~~~~~~~~~ main.cpp:26:48: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 26 | else if(row[i] >= 'a' && row[i] <= 'z' && i < strlen(row)){ | ~~^~~~~~~~~~~~~ main.cpp: In function 'bool and1(char*)': main.cpp:35:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 35 | if(i >= strlen(row)) | ~~^~~~~~~~~~~~~~ main.cpp:38:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 38 | while(row[i] == '&' && i < strlen(row)){ | ~~^~~~~~~~~~~~~ main.cpp: In function 'bool xor1(char*)': main.cpp:45:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 45 | if(i >= strlen(row)) | ~~^~~~~~~~~~~~~~ main.cpp:48:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 48 | while(row[i] == '^' && i < strlen(row)){ | ~~^~~~~~~~~~~~~ main.cpp: In function 'bool or1(char*)': main.cpp:55:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 55 | if(i >= strlen(row)) | ~~^~~~~~~~~~~~~~ main.cpp: In function 'bool Solve()': main.cpp:86:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 86 | for(int i=0;i<strlen(x);i++) | ~^~~~~~~~~~ main.cpp:89:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 89 | for(int i=0;i<strlen(y);i++) | ~^~~~~~~~~~ main.cpp:89:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 89 | for(int i=0;i<strlen(y);i++) | ^~~ main.cpp:92:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 92 | for(i=1;i<=26;i++) | ^~~ main.cpp:92:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] main.cpp:95:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 95 | Variable_Number = 0; | ^~~~~~~~~~~~~~~ main.cpp:96:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 96 | for(int i=1;i<=26;i++)
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbOK10
20ms184kbOK10
30ms184kbOK10
40ms184kbOK10
522ms184kbOK10
65ms184kbOK10
70ms184kbOK10
80ms184kbOK10
90ms184kbOK10
103ms184kbOK10
Punctaj total100

Ceva nu functioneaza?