Pagini recente » Borderou de evaluare (job #20432) | Borderou de evaluare (job #481571) | Borderou de evaluare (job #814977) | Borderou de evaluare (job #3226541) | Borderou de evaluare (job #2790902)
Borderou de evaluare (job #2790902)
Raport evaluator
Compilare:
main.cpp: In function 'bool factor()':
main.cpp:27:19: warning: array subscript has type 'char' [-Wchar-subscripts]
27 | nr = val[s[ind]];
| ~~~~~^
main.cpp: In function 'int main()':
main.cpp:100:9: warning: array subscript has type 'char' [-Wchar-subscripts]
100 | val[ch] = !val[ch];
| ^~
main.cpp:100:20: warning: array subscript has type 'char' [-Wchar-subscripts]
100 | val[ch] = !val[ch];
| ^~
main.cpp:56:13: warning: unused variable 't' [-Wunused-variable]
56 | int n, i, t;
| ^
main.cpp: In function 'bool or_operation()':
main.cpp:15:8: warning: 'nr' may be used uninitialized in this function [-Wmaybe-uninitialized]
15 | bool nr;
| ^~
main.cpp: In function 'bool factor()':
main.cpp:31:10: warning: 'nr' may be used uninitialized in this function [-Wmaybe-uninitialized]
31 | return nr;
| ^~
main.cpp: In function 'bool and_operation()':
main.cpp:15:8: warning: 'nr' may be used uninitialized in this function [-Wmaybe-uninitialized]
15 | bool nr;
| ^~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 1ms | 184kb | OK | 10 |
| 2 | 1ms | 184kb | Incorect | 0 |
| 3 | 1ms | 184kb | Incorect | 0 |
| 4 | 1ms | 184kb | Incorect | 0 |
| 5 | 1ms | 184kb | OK | 10 |
| 6 | 1ms | 184kb | OK | 10 |
| 7 | 1ms | 184kb | OK | 10 |
| 8 | 1ms | 184kb | OK | 10 |
| 9 | 1ms | 184kb | OK | 10 |
| 10 | 1ms | 184kb | OK | 10 |
| Punctaj total | 70 |