Borderou de evaluare (job #2405079)
| Utilizator | Data | 13 aprilie 2019 21:38:17 | |
|---|---|---|---|
| Problema | Jocul Flip | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:6:5: error: 'ifstream' was not declared in this scope
ifstream f("flip.in");
^~~~~~~~
main.cpp:6:5: note: suggested alternative:
In file included from /usr/include/c++/6/ios:38:0,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from main.cpp:1:
/usr/include/c++/6/iosfwd:162:34: note: 'std::ifstream'
typedef basic_ifstream<char> ifstream;
^~~~~~~~
main.cpp:7:5: error: 'f' was not declared in this scope
f>>n;
^
main.cpp:46:13: error: 'cout' was not declared in this scope
cout<<s;
^~~~
main.cpp:46:13: note: suggested alternative:
In file included from main.cpp:1:0:
/usr/include/c++/6/iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
