Borderou de evaluare (job #1103931)

Utilizator varga13VarGaz13 varga13 Data 10 februarie 2014 09:41:49
Problema Capitala Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:9:2: error: stray ‘#’ in program /#define f cin ^ user.cpp:8:1: error: expected unqualified-id before ‘/’ token / ^ user.cpp:15:1: error: ‘ifstream’ does not name a type ifstream f("capitala.in"); ^ user.cpp:16:1: error: ‘ofstream’ does not name a type ofstream g("capitala.out") ^ user.cpp:19:1: error: ‘vector’ does not name a type vector<int> G[mx]; ^ user.cpp: In function ‘void citire()’: user.cpp:24:2: error: ‘f’ was not declared in this scope f>>n; ^ user.cpp:24:5: error: ‘n’ was not declared in this scope f>>n; ^ user.cpp:29:3: error: ‘G’ was not declared in this scope G[a].push_back(b); ^ user.cpp: In function ‘void df(int, int)’: user.cpp:37:16: error: ‘G’ was not declared in this scope for(int i=0;i<G[x].size();i++) ^ user.cpp:45:5: error: ‘maxim’ was not declared in this scope maxim[cur] += adancime; ^ user.cpp:45:11: error: ‘cur’ was not declared in this scope maxim[cur] += adancime; ^ user.cpp: In function ‘void Write()’: user.cpp:54:17: error: ‘n’ was not declared in this scope for(int i=1;i<=n;i++) ^ user.cpp:56:6: error: ‘maxim’ was not declared in this scope if(maxim[i]<mm) ^ user.cpp:56:15: error: ‘mm’ was not declared in this scope if(maxim[i]<mm) ^ user.cpp:59:4: error: ‘I’ was not declared in this scope I=i; ^ user.cpp:62:2: error: ‘cout’ was not declared in this scope cout<<I<<" "<<mm;

Ceva nu functioneaza?