Borderou de evaluare (job #3306324)

Utilizator razvanmrt_06Mariuta Razvan razvanmrt_06 Data 9 august 2025 17:45:57
Problema Lowest Common Ancestor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp:8:57: warning: built-in function 'log2' declared as non-function [-Wbuiltin-declaration-mismatch] 8 | int n, m, F[Nmax], dp[Nmax][22], depth[Nmax], pow2[22], log2[Nmax]; | ^~~~ main.cpp: In function 'void preCalc()': main.cpp:33:17: warning: iteration 99999 invokes undefined behavior [-Waggressive-loop-optimizations] 33 | log2[i] = log2[i/2] + 1; | ~~~~~~~~^~~~~~~~~~~~~~~ main.cpp:32:22: note: within this loop 32 | for(int i = 2; i <= Nmax; i++){ | ~~^~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
11ms557kbOK1010
21ms819kbOK1010
34ms2129kbOK1010
458ms9003kbOK1010
572ms14258kbOK1010
6117ms14458kbOK1010
7812ms22913kbOK1010
8663ms16953kbOK1030
9840ms17883kbOK10
10937ms18341kbOK10
Punctaj total100

Ceva nu functioneaza?