Borderou de evaluare (job #1912216)
Utilizator | Data | 8 martie 2017 00:04:21 | |
---|---|---|---|
Problema | A+B | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:2:20: error: ‘cin’ was not declared in this scope
int main(){int a,b;cin>>a>>b;cout<<a+b;return 0;}
^
user.cpp:2:20: note: suggested alternative:
In file included from user.cpp:1:0:
/usr/include/c++/4.8/iostream:60:18: note: ‘std::cin’
extern istream cin; /// Linked to standard input
^
user.cpp:2:30: error: ‘cout’ was not declared in this scope
int main(){int a,b;cin>>a>>b;cout<<a+b;return 0;}
^
user.cpp:2:30: note: suggested alternative:
In file included from user.cpp:1:0:
/usr/include/c++/4.8/iostream:61:18: note: ‘std::cout’
extern ostream cout; /// Linked to standard output
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !