Borderou de evaluare (job #3306426)

Utilizator razvanmrt_06Mariuta Razvan razvanmrt_06 Data 10 august 2025 15:00:56
Problema Lowest Common Ancestor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp:9:16: warning: built-in function 'log2' declared as non-function [-Wbuiltin-declaration-mismatch] 9 | int n, m, top, log2[Nmax], first[Nmax]; | ^~~~ main.cpp: In function 'void preCalc()': main.cpp:23:17: warning: iteration 100003 invokes undefined behavior [-Waggressive-loop-optimizations] 23 | log2[i] = log2[i/2] + 1; | ~~~~~~~~^~~~~~~~~~~~~~~ main.cpp:22:22: note: within this loop 22 | for(int i = 2; i <= Nmax; i++){ | ~~^~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
11ms819kbIncorect00
21ms819kbIncorect00
34ms4878kbIncorect00
424ms23457kbKilled by Signal 1100
535ms24760kbKilled by Signal 1100
634ms24784kbKilled by Signal 1100
737ms35979kbKilled by Signal 1100
837ms24788kbKilled by Signal 1100
934ms24756kbKilled by Signal 110
1034ms24813kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?