Borderou de evaluare (job #3329778)

Utilizator Andrei1209Andrei Mircea Andrei1209 Data 15 decembrie 2025 18:17:00
Problema Euclid Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp:8:68: warning: built-in function 'log' declared as non-function [-Wbuiltin-declaration-mismatch] 8 | int v[Nmax][Nmax], col[Nmax][Nmax][10], rmq[Nmax][10], n, m, h, w, log[Nmax]; | ^~~ main.cpp: In function 'int main()': main.cpp:24:16: warning: iteration 403 invokes undefined behavior [-Waggressive-loop-optimizations] 24 | log[i] = log[i / 2] + 1; | ~~~~~~~^~~~~~~~~~~~~~~~ main.cpp:23:24: note: within this loop 23 | for ( int i = 2; i <= Nmax; ++i ) | ~~^~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms561kbOK10
21ms561kbOK10
31ms557kbOK10
449ms7331kbOK10
549ms7520kbOK10
649ms7471kbOK10
7341ms7483kbOK10
8341ms7385kbOK10
9351ms7364kbOK10
10341ms7356kbOK10
Punctaj total100

Ceva nu functioneaza?