Borderou de evaluare (job #2626849)
Utilizator | Data | 8 iunie 2020 17:22:34 | |
---|---|---|---|
Problema | Sticle | 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("sticle.in");
^~~~~~~~
main.cpp:3:1: error: 'ofstream' does not name a type
ofstream g("sticle.out");
^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:8:5: error: 'f' was not declared in this scope
f>>n;
^
main.cpp:14:13: error: 'g' was not declared in this scope
g<<0<<'\n';
^
main.cpp:25:13: error: 'g' was not declared in this scope
g<<ans-1<<'\n';
^
main.cpp:27:17: error: 'g' was not declared in this scope
g<<ans<<'\n';
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !