Borderou de evaluare (job #1217657)
Utilizator | Data | 7 august 2014 21:23:45 | |
---|---|---|---|
Problema | Joc 18 | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:10:11: error: ‘::main’ must return ‘int’
void main()
^
user.cpp: In function ‘int main()’:
user.cpp:13:1: error: ‘ifstream’ was not declared in this scope
ifstream f("joc18.in");
^
user.cpp:13:10: error: expected ‘;’ before ‘f’
ifstream f("joc18.in");
^
user.cpp:14:1: error: ‘ofstream’ was not declared in this scope
ofstream g("joc18.out");
^
user.cpp:14:10: error: expected ‘;’ before ‘g’
ofstream g("joc18.out");
^
user.cpp:15:1: error: ‘f’ was not declared in this scope
f>>t;
^
user.cpp:21:10: error: ‘g’ was not declared in this scope
if(ok==1)g<<"Aurel";
^
user.cpp:22:6: error: ‘g’ was not declared in this scope
else g<<"Bianca";}}
^
user.cpp:12:13: warning: unused variable ‘a’ [-Wunused-variable]
float n,aux,a;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !