Borderou de evaluare (job #2937579)

Utilizator FunnyStockyMihnea Andreescu FunnyStocky Data 10 noiembrie 2022 17:49:37
Problema Zombies Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'bool operator<(T, T)': main.cpp:51:6: warning: unused variable 'l1' [-Wunused-variable] 51 | int l1 = a.imag_x.first, r1 = a.imag_x.second; | ^~ main.cpp:52:6: warning: unused variable 'l2' [-Wunused-variable] 52 | int l2 = b.imag_x.first, r2 = b.imag_x.second; | ^~ main.cpp: In function 'int main()': main.cpp:89:9: error: 'Zombie' was not declared in this scope 89 | vector<Zombie> zombie; | ^~~~~~ main.cpp:89:15: error: template argument 1 is invalid 89 | vector<Zombie> zombie; | ^ main.cpp:89:15: error: template argument 2 is invalid main.cpp:97:10: error: request for member 'push_back' in 'zombie', which is of non-class type 'int' 97 | zombie.push_back({x, y, vv, s}); | ^~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?