Borderou de evaluare (job #3040024)

Utilizator AndreiBOTOBotocan Andrei AndreiBOTO Data 29 martie 2023 11:21:59
Problema Lexicografic Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'elem query(int, int, int, int, int)': main.cpp:100:19: warning: unused variable 'kon' [-Wunused-variable] 100 | long long kon=0; | ^~~ main.cpp: In function 'int main()': main.cpp:157:9: error: 'vector' was not declared in this scope 157 | vector<int>total; | ^~~~~~ main.cpp:4:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? 3 | #include <algorithm> +++ |+#include <vector> 4 | main.cpp:157:16: error: expected primary-expression before 'int' 157 | vector<int>total; | ^~~ main.cpp:165:13: error: 'total' was not declared in this scope 165 | total.push_back(aux.mini); | ^~~~~ main.cpp:168:20: error: 'total' was not declared in this scope 168 | for(auto i:total) | ^~~~~ main.cpp:171:9: error: 'total' was not declared in this scope 171 | total.clear(); | ^~~~~ main.cpp:150:11: warning: unused variable 'm' [-Wunused-variable] 150 | int t,m,k,i,j; | ^ main.cpp:150:17: warning: unused variable 'j' [-Wunused-variable] 150 | int t,m,k,i,j; | ^ Non zero exit status: 1

Ceva nu functioneaza?