Borderou de evaluare (job #1116063)

Utilizator MciprianMMciprianM MciprianM Data 22 februarie 2014 12:19:34
Problema Roata Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:5:14: error: ‘MAXN’ does not name a type static const MAXN = 100009; ^ user.cpp:6:7: error: ‘MAXN’ was not declared in this scope int v[MAXN]; ^ user.cpp: In function ‘int main()’: user.cpp:10:15: error: variable ‘std::ifstream f’ has initializer but incomplete type ifstream f("roata.in"); ^ user.cpp:11:10: error: ‘n’ was not declared in this scope f >> n >> p; ^ user.cpp:11:15: error: ‘p’ was not declared in this scope f >> n >> p; ^ user.cpp:13:14: error: ‘v’ was not declared in this scope f >> v[i]; ^ user.cpp:17:15: error: variable ‘std::ofstream g’ has initializer but incomplete type ofstream g("roata.out"); ^

Ceva nu functioneaza?