Borderou de evaluare (job #2463372)

Utilizator ContNou1Cont nou 1 ContNou1 Data 28 septembrie 2019 11:34:26
Problema Inundatie Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:6:2: error: invalid preprocessing directive #unclude #unclude <fstream> ^~~~~~~ main.cpp:8:11: error: variable 'std::ifstream f' has initializer but incomplete type ifstream f("inundatie.in") ^ main.cpp:9:1: error: expected ',' or ';' before 'ofstream' ofstream g("inundatie.out") ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:13:8: error: 'm' was not declared in this scope f>>m>>n; ^ main.cpp:13:11: error: 'n' was not declared in this scope f>>m>>n; ^ main.cpp:14:5: error: 'nr' was not declared in this scope nr=0; ^~ main.cpp:17:20: error: 'a' was not declared in this scope f>>a[i][j]; ^ main.cpp:21:20: error: 'q' was not declared in this scope f>>q; ^ main.cpp:23:20: error: 'eq' was not declared in this scope f>>eq[i]; ^~ main.cpp:26:28: error: 'a' was not declared in this scope if(a[i][j]!=eq[p] && a[j][i+2]!=eq[p]) ^ main.cpp:26:37: error: 'eq' was not declared in this scope if(a[i][j]!=eq[p] && a[j][i+2]!=eq[p]) ^~ main.cpp:26:40: error: 'p' was not declared in this scope if(a[i][j]!=eq[p] && a[j][i+2]!=eq[p]) ^ main.cpp:31:5: error: 'g' was not declared in this scope g>>nr; ^ Non zero exit status: 1

Ceva nu functioneaza?