Borderou de evaluare (job #2896491)

Utilizator RaresParleaParlea Costin-Rares-Calin RaresParlea Data 29 aprilie 2022 23:26:15
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:15:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 15 | for(j=0;j<Hash[c].size();j++) | ~^~~~~~~~~~~~~~~ main.cpp:24:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 24 | else if(op==2) | ^ main.cpp:21:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 21 | if(op==1) | ^ main.cpp:31:9: error: 'else' without a previous 'if' 31 | else | ^~~~ main.cpp:35:5: error: 'f' was not declared in this scope 35 | f.close(); | ^ main.cpp:36:5: error: 'g' was not declared in this scope 36 | g.close(); | ^ Non zero exit status: 1

Ceva nu functioneaza?