Borderou de evaluare (job #2846063)
Utilizator | Data | 8 februarie 2022 18:32:57 | |
---|---|---|---|
Problema | A+B | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:2:17: error: 'std\U00000219' is not a namespace-name
2 | using namespace stdș
| ^~~~
main.cpp:2:22: error: expected ';' before 'int'
2 | using namespace stdș
| ^
| ;
3 | int main(){
| ~~~
main.cpp: In function 'int main()':
main.cpp:5:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
5 | cin>>a>>b;
| ^~~
| 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<<a+b;
| ^~~~
| 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 !