Borderou de evaluare (job #3038895)

Utilizator RTG123Razvan Diaconescu RTG123 Data 27 martie 2023 21:36:45
Problema Lowest Common Ancestor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void make_euler()': main.cpp:28:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 28 | for (int i=0; i<v[cur].size() && !ok; i++) | ~^~~~~~~~~~~~~~ main.cpp: In function 'void query(int, int, int, int, int)': main.cpp:61:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 61 | if (l[adi[nod]]<hsol) | ^~ main.cpp:63:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 63 | return ; | ^~~~~~ main.cpp: In function 'int lca(int, int)': main.cpp:5:13: warning: overflow in conversion from 'long int' to 'int' changes value from '10000000000' to '1410065408' [-Woverflow] 5 | #define INF 10000000000 | ^~~~~~~~~~~ main.cpp:75:14: note: in expansion of macro 'INF' 75 | sol=hsol=INF; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
11ms2654kbOK1010
21ms2654kbOK1010
36ms3702kbOK1010
458ms6942kbOK1010
559ms9715kbOK1010
699ms9900kbOK1010
7307ms16359kbOK1010
8609ms12390kbOK1030
9778ms13344kbOK10
10867ms13803kbOK10
Punctaj total100

Ceva nu functioneaza?