Borderou de evaluare (job #2879296)

Utilizator RaresFelixTudose Rares Felix RaresFelix Data 28 martie 2022 13:24:53
Problema Divizori2 Status done
Runda anamorapud Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In member function 'InParser& InParser::operator>>(int&)': main.cpp:38:11: error: 'isdigit' was not declared in this scope 38 | while (!isdigit(c = read_ch()) && c != '-'); | ^~~~~~~ main.cpp:46:10: error: 'isdigit' was not declared in this scope 46 | while (isdigit(c = read_ch())) { | ^~~~~~~ main.cpp: In member function 'InParser& InParser::operator>>(long long int&)': main.cpp:56:11: error: 'isdigit' was not declared in this scope 56 | while (!isdigit(c = read_ch()) && c != '-'); | ^~~~~~~ main.cpp:64:10: error: 'isdigit' was not declared in this scope 64 | while (isdigit(c = read_ch())) { | ^~~~~~~ main.cpp: In function 'bool check(int)': main.cpp:219:8: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 219 | auto [level, nod] = *patr.rbegin(); | ^ main.cpp:228:8: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 228 | auto [k, dl] = dsu::join(nod, p[nod]); | ^ main.cpp:242:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 242 | for(int i = 1; i < V0.size(); ++i) { | ~~^~~~~~~~~~~ main.cpp:253:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 253 | for(int i = 1; i < Comp.size(); ++i) | ~~^~~~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?