Pagini recente » Cod sursa (job #335307) | Borderou de evaluare (job #1775084) | Cod sursa (job #138655) | Borderou de evaluare (job #2636575) | Borderou de evaluare (job #2814395)
Borderou de evaluare (job #2814395)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:25:16: warning: '~' on an expression of type 'bool' [-Wbool-operation]
25 | r[i]=~r[i]+2;
| ~~~^
main.cpp:25:16: note: did you mean to use logical not ('!')?
main.cpp:26:20: warning: '~' on an expression of type 'bool' [-Wbool-operation]
26 | r[i+1]=~r[i+1]+2;
| ~~~~~^
main.cpp:26:20: note: did you mean to use logical not ('!')?
main.cpp:37:16: warning: '~' on an expression of type 'bool' [-Wbool-operation]
37 | v[i]=~v[i]+2;
| ~~~^
main.cpp:37:16: note: did you mean to use logical not ('!')?
main.cpp:38:20: warning: '~' on an expression of type 'bool' [-Wbool-operation]
38 | v[i+1]=~v[i+1]+2;
| ~~~~~^
main.cpp:38:20: note: did you mean to use logical not ('!')?
main.cpp:45:16: warning: '~' on an expression of type 'bool' [-Wbool-operation]
45 | v[i]=~v[i]+2;
| ~~~^
main.cpp:45:16: note: did you mean to use logical not ('!')?
main.cpp:46:20: warning: '~' on an expression of type 'bool' [-Wbool-operation]
46 | v[i+1]=~v[i+1]+2;
| ~~~~~^
main.cpp:46:20: note: did you mean to use logical not ('!')?
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 184kb | OK | 10 |
| 2 | 2ms | 184kb | OK | 10 |
| 3 | 2ms | 184kb | OK | 10 |
| 4 | 2ms | 184kb | OK | 10 |
| 5 | 2ms | 184kb | OK | 10 |
| 6 | 6ms | 200kb | OK | 10 |
| 7 | 2ms | 184kb | OK | 10 |
| 8 | 6ms | 299kb | OK | 10 |
| 9 | 2ms | 184kb | Incorect | 0 |
| 10 | 45ms | 569kb | OK | 10 |
| Punctaj total | 90 |