Borderou de evaluare (job #2085029)

Utilizator gufet24Stan Stefan gufet24 Data 9 decembrie 2017 16:14:24
Problema Sudest Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:1:1: error: ‘include’ does not name a type include<fstream> ^ user.cpp:3:1: error: ‘ifstream’ does not name a type ifstream f("sudest.in"); ^ user.cpp:4:1: error: ‘ofstream’ does not name a type ofstream g("sudest.out"); ^ user.cpp: In function ‘void scrie(int, int, int)’: user.cpp:14:5: error: ‘g’ was not declared in this scope g<<i<<" "<<j<<"\n"; ^ user.cpp: In function ‘int main()’: user.cpp:18:5: error: ‘f’ was not declared in this scope f>>n; ^ user.cpp:40:56: error: ‘max’ was not declared in this scope a[i][j]=max(a[i][j],a[i-pas][j]+v[i][j]); ^ user.cpp:42:56: error: ‘max’ was not declared in this scope a[i][j]=max(a[i][j],a[i][j-pas]+v[i][j]); ^ user.cpp:45:5: error: ‘g’ was not declared in this scope g<<a[n][n]<<"\n1 1\n"; ^

Ceva nu functioneaza?