Pagini recente » Borderou de evaluare (job #1785913) | Borderou de evaluare (job #2354355) | Borderou de evaluare (job #2334414) | Borderou de evaluare (job #3131165) | Borderou de evaluare (job #2790907)
Borderou de evaluare (job #2790907)
Raport evaluator
Compilare:
main.cpp: In function 'bool factor()':
main.cpp:26:19: warning: array subscript has type 'char' [-Wchar-subscripts]
26 | nr = val[s[ind]];
| ~~~~~^
main.cpp: In function 'int main()':
main.cpp:104:9: warning: array subscript has type 'char' [-Wchar-subscripts]
104 | val[ch] = !val[ch];
| ^~
main.cpp:104:20: warning: array subscript has type 'char' [-Wchar-subscripts]
104 | val[ch] = !val[ch];
| ^~
main.cpp:60:13: warning: unused variable 't' [-Wunused-variable]
60 | 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 | 3ms | 184kb | OK | 10 |
| 2 | 1ms | 184kb | OK | 10 |
| 3 | 1ms | 184kb | OK | 10 |
| 4 | 1ms | 184kb | Incorect | 0 |
| 5 | 1ms | 184kb | Incorect | 0 |
| 6 | 1ms | 184kb | Incorect | 0 |
| 7 | 1ms | 184kb | Incorect | 0 |
| 8 | 1ms | 184kb | Incorect | 0 |
| 9 | 1ms | 184kb | Incorect | 0 |
| 10 | 2ms | 188kb | OK | 10 |
| Punctaj total | 40 |