Borderou de evaluare (job #2313221)
Utilizator | Data | 6 ianuarie 2019 13:37:57 | |
---|---|---|---|
Problema | Joc8 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:2:1: error: 'ifstream' does not name a type
ifstream f("joc8.in");
^~~~~~~~
main.cpp:3:1: error: 'ofstream' does not name a type
ofstream g("joc8.out");
^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:6:5: error: 'f' was not declared in this scope
f >> x >> y;
^
main.cpp:11:13: error: 'g' was not declared in this scope
g << m;
^
main.cpp:23:13: error: 'g' was not declared in this scope
g << '0';
^
main.cpp:27:20: warning: statement has no effect [-Wunused-value]
intreb == 2;
~~~~~~~^~~~
main.cpp:28:13: error: expected '}' before 'else'
else intreb = 1;
^~~~
main.cpp: At global scope:
main.cpp:31:5: error: expected unqualified-id before 'return'
return 0;
^~~~~~
main.cpp:32:1: error: expected declaration before '}' token
}
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !