Borderou de evaluare (job #442958)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Sprime (clasa a 9 a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 6 mar. 2019 08:29:12 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:26: error: no matching function for call to ‘std::basic_ostream<char>::basic_ostream(const char [11])’
user.cpp:7:26: note: candidates are:
/usr/include/c++/4.6/ostream:363:7: note: std::basic_ostream<_CharT, _Traits>::basic_ostream() [with _CharT = char, _Traits = std::char_traits<char>]
/usr/include/c++/4.6/ostream:363:7: note: candidate expects 0 arguments, 1 provided
/usr/include/c++/4.6/ostream:84:7: note: std::basic_ostream<_CharT, _Traits>::basic_ostream(std::basic_ostream<_CharT, _Traits>::__streambuf_type*) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf<char>]
/usr/include/c++/4.6/ostream:84:7: note: no known conversion for argument 1 from ‘const char [11]’ to ‘std::basic_ostream<char>::__streambuf_type* {aka std::basic_streambuf<char>*}’
user.cpp: In function ‘int main()’:
user.cpp:11:11: error: incompatible types in assignment of ‘int’ to ‘int [100000]’
user.cpp:11:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
user.cpp:11:25: error: lvalue required as increment operand
user.cpp:12:5: error: reference to ‘cin’ is ambiguous
user.cpp:6:10: error: candidates are: std::ifstream cin
/usr/include/c++/4.6/iostream:61:18: error: std::istream std::cin
user.cpp:14:5: error: reference to ‘cin’ is ambiguous
user.cpp:6:10: error: candidates are: std::ifstream cin
/usr/include/c++/4.6/iostream:61:18: error: std::istream std::cin
user.cpp:23:22: error: ‘d1’ was not declared in this scope
user.cpp:26:22: error: ‘d2’ was not declared in this scope
user.cpp:29:21: error: ‘d3’ was not declared in this scope
user.cpp:33:21: error: reference to ‘cout’ is ambiguous
user.cpp:7:9: error: candidates are: std::ostream cout
/usr/include/c++/4.6/iostream:62:18: error: std::ostream std::cout
user.cpp:36:5: error: expected ‘}’ at end of input
user.cpp:36:5: error: expected ‘}’ at end of input