Borderou de evaluare (job #2855426)

Utilizator Benemaster24Cindea Benedict Benemaster24 Data 22 februarie 2022 14:01:13
Problema And Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:3:13: error: variable 'std::ifstream fin' has initializer but incomplete type 3 | ifstream fin("and.in"); | ^ main.cpp:4:14: error: variable 'std::ofstream fout' has initializer but incomplete type 4 | ofstream fout("and.out"); | ^ main.cpp: In function 'int main()': main.cpp:15:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 15 | if((p&a[i])>0) | ^~ main.cpp:17:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 17 | if(cnt>maxcnt){ | ^~ Non zero exit status: 1

Ceva nu functioneaza?