Borderou de evaluare (job #2628408)

Utilizator k2e0e0w3qDumitrescu Gheorghe k2e0e0w3q Data 15 iunie 2020 20:06:33
Problema Concurs Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp:8:14: warning: capture of variable 'niv' with non-automatic storage duration auto cmp = [&niv, &euler] (const int &a, const int &b) -> bool { ^~~ main.cpp:7:5: note: 'int niv [32001]' declared here int niv[N+1], first[N+1], seg[_log(N)+2][N<<1]; ^~~ main.cpp:8:20: warning: capture of variable 'euler' with non-automatic storage duration auto cmp = [&niv, &euler] (const int &a, const int &b) -> bool { ^~~~~ main.cpp:6:22: note: 'std::vector<int> euler' declared here vector <int> G[N+1], euler; ^~~~~ main.cpp: In function 'int main()': main.cpp:48:51: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] seg[i][j]=min(seg[i-1][j], seg[i-1][j + 1<<(i-1)], cmp); ~~^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms917kbOK10
24ms917kbKilled by Signal 110
35ms1048kbKilled by Signal 110
410ms1310kbKilled by Signal 110
58ms1310kbKilled by Signal 110
619ms2097kbKilled by Signal 110
743ms5505kbKilled by Signal 110
830ms2883kbKilled by Signal 110
945ms3534kbKilled by Signal 110
1045ms3665kbKilled by Signal 110
Punctaj total10

Ceva nu functioneaza?