Pagini recente » Borderou de evaluare (job #1763491) | Borderou de evaluare (job #1768712) | Borderou de evaluare (job #1996360) | Borderou de evaluare (job #1763523) | Borderou de evaluare (job #2927984)
Borderou de evaluare (job #2927984)
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 |
1 | 0ms | 184kb | OK | 10 |
2 | 0ms | 184kb | OK | 10 |
3 | 0ms | 184kb | OK | 10 |
4 | 0ms | 184kb | OK | 10 |
5 | 22ms | 184kb | OK | 10 |
6 | 5ms | 184kb | OK | 10 |
7 | 0ms | 184kb | OK | 10 |
8 | 0ms | 184kb | OK | 10 |
9 | 0ms | 184kb | OK | 10 |
10 | 3ms | 184kb | OK | 10 |
Punctaj total | 100 |