Pagini recente » Borderou de evaluare (job #3208309) | Borderou de evaluare (job #1524286) | Borderou de evaluare (job #3262425) | Borderou de evaluare (job #1728112) | Borderou de evaluare (job #2936799)
Borderou de evaluare (job #2936799)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:38:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
38 | for(int i=2; i<=MAX; i++)
| ^~~
main.cpp:41:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
41 | buildSparseTable(a, n);
| ^~~~~~~~~~~~~~~~
main.cpp:42:6: warning: unused variable 'k' [-Wunused-variable]
42 | int k = lg[n];
| ^
main.cpp:39:15: warning: iteration 100000 invokes undefined behavior [-Waggressive-loop-optimizations]
39 | lg[i] = 1 + lg[i/2];
| ~~~~~~^~~~~~~~~~~~~
main.cpp:38:19: note: within this loop
38 | for(int i=2; i<=MAX; i++)
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 184kb | OK | 10 | 10 |
2 | 0ms | 184kb | OK | 10 | 10 |
3 | 0ms | 184kb | OK | 10 | 10 |
4 | 53ms | 4734kb | OK | 10 | 10 |
5 | 58ms | 4767kb | OK | 10 | 20 |
6 | 292ms | 7491kb | OK | 10 |
7 | 313ms | 8998kb | OK | 10 | 10 |
8 | 371ms | 10776kb | OK | 10 | 10 |
9 | 412ms | 11038kb | OK | 10 | 10 |
10 | 457ms | 11563kb | OK | 10 | 10 |
Punctaj total | 100 |