Borderou de evaluare (job #2927978)

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

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:95:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 95 | for(int i=1;i<=26;i++) | ^~~ main.cpp:101:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 101 | AreEqual = 1; | ^~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbOK10
213ms184kbOK10
3103ms184kbTime limit exceeded0
4103ms184kbTime limit exceeded0
5101ms184kbTime limit exceeded0
6101ms184kbTime limit exceeded0
7102ms184kbTime limit exceeded0
80ms184kbOK10
9101ms184kbTime limit exceeded0
10101ms184kbTime limit exceeded0
Punctaj total30

Ceva nu functioneaza?