Borderou de evaluare (job #2768087)

Utilizator danikoynovDaniel Koynov danikoynov Data 9 august 2021 14:39:47
Problema Cheerleader Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void brute(std::vector<int>, std::__cxx11::string)': main.cpp:15:19: warning: division by zero [-Wdiv-by-zero] cout << 1 / 0 << endl ~~^~~ main.cpp:16:5: error: expected ';' before 'vector' vector < int > d; ^~~~~~ main.cpp:19:13: error: 'd' was not declared in this scope d.push_back(v[i]); ^ main.cpp:21:13: error: 'd' was not declared in this scope d.push_back(v[i]); ^ main.cpp:23:21: error: 'd' was not declared in this scope if (pw.find(d) == pw.end()) ^ main.cpp:25:16: error: request for member 'insert' in 'st', which is of non-class type 'bool' st.insert({d, s + "1"}); ^~~~~~ main.cpp:32:5: error: 'd' was not declared in this scope d.clear(); ^ main.cpp:41:12: error: request for member 'insert' in 'st', which is of non-class type 'bool' st.insert({d, s + "2"}); ^~~~~~ main.cpp: In function 'void solve()': main.cpp:49:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("cheerleader.out","w",stdout); ^ Non zero exit status: 1

Ceva nu functioneaza?