Borderou de evaluare (job #2301784)

Utilizator Andrei243Nitu Mandel Andrei Andrei243 Data 13 decembrie 2018 15:41:20
Problema Numerologie Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'bool verificare(std::vector<bool>&, std::vector<int>&, std::vector<int>&)': main.cpp:38:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<numere_prime_selectate.size(); i++) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:40:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0; j<divizare.size(); j++) ~^~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:80:15: error: 'INT_MAX' was not declared in this scope int minim=INT_MAX; ^~~~~~~ main.cpp:88:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0; j<numere_calculate.size(); j++) ~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:108:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<numere_prime_selectate.size(); i++) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:107:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main.cpp:116:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' if(sum<minim) ^~ Non zero exit status: 1

Ceva nu functioneaza?