Pagini recente » Autentificare | Borderou de evaluare (job #1318078) | Borderou de evaluare (job #3324423) | Borderou de evaluare (job #3324419) | Borderou de evaluare (job #3324469)
Borderou de evaluare (job #3324469)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:18:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
18 | for (int i = 0; i < n - 2; i++)
| ^~~
main.cpp:33:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
33 | cout << sol;
| ^~~~
main.cpp:10:12: warning: unused variable 'm' [-Wunused-variable]
10 | int n, m, x, c = 0, sol = 0 ;
| ^
main.cpp:10:15: warning: unused variable 'x' [-Wunused-variable]
10 | int n, m, x, c = 0, sol = 0 ;
| ^
main.cpp:10:18: warning: unused variable 'c' [-Wunused-variable]
10 | int n, m, x, c = 0, sol = 0 ;
| ^
main.cpp:31:23: warning: 'r' may be used uninitialized [-Wmaybe-uninitialized]
31 | sol += (r - j);
| ~~~^~~~
main.cpp:17:9: note: 'r' was declared here
17 | int r;
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | Incorect | 0 |
| 2 | 0ms | 303kb | Incorect | 0 |
| 3 | 0ms | 303kb | OK | 5 |
| 4 | 0ms | 303kb | Incorect | 0 |
| 5 | 0ms | 303kb | Incorect | 0 |
| 6 | 0ms | 303kb | Incorect | 0 |
| 7 | 0ms | 303kb | Incorect | 0 |
| 8 | 0ms | 307kb | Incorect | 0 |
| 9 | 0ms | 303kb | Incorect | 0 |
| 10 | 0ms | 303kb | Incorect | 0 |
| 11 | 0ms | 303kb | Incorect | 0 |
| 12 | 0ms | 303kb | Incorect | 0 |
| 13 | 0ms | 303kb | Incorect | 0 |
| 14 | 0ms | 303kb | Incorect | 0 |
| 15 | 3ms | 303kb | Incorect | 0 |
| 16 | 3ms | 303kb | Incorect | 0 |
| 17 | 4ms | 303kb | Incorect | 0 |
| 18 | 4ms | 303kb | Incorect | 0 |
| 19 | 3ms | 303kb | Incorect | 0 |
| 20 | 5ms | 303kb | Incorect | 0 |
| Punctaj total | 5 |