Borderou de evaluare (job #2347081)

Utilizator teglasalexTeglas Alexandru teglasalex Data 18 februarie 2019 13:22:11
Problema Bere Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:10:11: error: conflicting declaration 'int f' int n, t, f; ^ main.cpp:6:10: note: previous declaration as 'std::ifstream f' ifstream f ("br.in"); ^ main.cpp: In function 'int main()': main.cpp:33:9: error: expected primary-expression before 'int' gr (int i = 1; i <= n; ++ i) ^~~ main.cpp:33:20: error: 'i' was not declared in this scope gr (int i = 1; i <= n; ++ i) ^ main.cpp:38:9: error: expected primary-expression before 'int' gr (int i = 1; i <= t; ++ i) ^~~ Non zero exit status: 1

Ceva nu functioneaza?