Pagini recente » Borderou de evaluare (job #2719434) | Borderou de evaluare (job #2740497) | Borderou de evaluare (job #2604581) | Borderou de evaluare (job #3158614) | Borderou de evaluare (job #3288433)
Borderou de evaluare (job #3288433)
Raport evaluator
Compilare:
main.cpp: In function 'int factor()':
main.cpp:164:22: warning: array subscript has type 'char' [-Wchar-subscripts]
164 | ret = F[s[i++]];
| ~~~~~^
main.cpp: In function 'int main()':
main.cpp:194:11: warning: array subscript has type 'char' [-Wchar-subscripts]
194 | F[c] = 1 - F[c];
| ^
main.cpp:194:22: warning: array subscript has type 'char' [-Wchar-subscripts]
194 | F[c] = 1 - F[c];
| ^
main.cpp: In function 'int factor()':
main.cpp:176:12: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized]
176 | return ret;
| ^~~
main.cpp:150:9: note: 'ret' was declared here
150 | int ret;
| ^~~
In function 'int not_op()',
inlined from 'int and_op()' at main.cpp:124:26:
main.cpp:140:13: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized]
140 | ret = (ret^factor());
| ~~~~^~~~~~~~~~~~~~~~
main.cpp: In function 'int and_op()':
main.cpp:150:9: note: 'ret' was declared here
150 | int ret;
| ^~~
main.cpp: In function 'int not_op()':
main.cpp:140:13: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized]
140 | ret = (ret^factor());
| ~~~~^~~~~~~~~~~~~~~~
main.cpp:150:9: note: 'ret' was declared here
150 | int ret;
| ^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | OK | 10 |
| 2 | 0ms | 303kb | OK | 10 |
| 3 | 0ms | 303kb | OK | 10 |
| 4 | 0ms | 303kb | OK | 10 |
| 5 | 0ms | 303kb | OK | 10 |
| 6 | 0ms | 303kb | OK | 10 |
| 7 | 0ms | 303kb | OK | 10 |
| 8 | 0ms | 303kb | OK | 10 |
| 9 | 0ms | 303kb | OK | 10 |
| 10 | 0ms | 303kb | OK | 10 |
| Punctaj total | 100 |