Borderou de evaluare (job #2885211)

Utilizator PetyAlexandru Peticaru Pety Data 5 aprilie 2022 18:27:01
Problema Lampa2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'bool ok(long long int)': main.cpp:107:10: error: request for member 'begin' in 'e', which is of non-class type 'event [200002]' 107 | sort(e.begin(), e.end()); | ^~~~~ main.cpp:107:21: error: request for member 'end' in 'e', which is of non-class type 'event [200002]' 107 | sort(e.begin(), e.end()); | ^~~ main.cpp:117:18: error: request for member 'size' in 'e', which is of non-class type 'event [200002]' 117 | while (j < e.size() && e[i].x == e[j].x) { | ^~~~ main.cpp:135:16: error: request for member 'size' in 'e', which is of non-class type 'event [200002]' 135 | if (j == e.size()) | ^~~~ main.cpp:114:6: warning: unused variable 'cnt' [-Wunused-variable] 114 | ll cnt = 0, len = 2 * k + 1; | ^~~ main.cpp:114:15: warning: unused variable 'len' [-Wunused-variable] 114 | ll cnt = 0, len = 2 * k + 1; | ^~~ Non zero exit status: 1

Ceva nu functioneaza?