Borderou de evaluare (job #2921177)
Utilizator | Data | 28 august 2022 04:00:43 | |
---|---|---|---|
Problema | Groaza | 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:4:1: error: 'ios_base' has not been declared
4 | ios_base::sync_with_stdio(0);
| ^~~~~~~~
main.cpp:5:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
5 | cin.tie(0);
| ^~~
| std::cin
In file included from main.cpp:1:
/usr/include/c++/10/iostream:60:18: note: 'std::cin' declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
main.cpp:6:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
6 | cout.tie(0);
| ^~~~
| std::cout
In file included from main.cpp:1:
/usr/include/c++/10/iostream:61:18: note: 'std::cout' declared here
61 | 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 !