Borderou de evaluare (job #301401)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Tir1 (clasa a 6-a) | Compilator | cpp |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 14 apr. 2017 12:04:10 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:11: error: conflicting declaration ‘int f’
user.cpp:7:14: error: ‘f’ has a previous declaration as ‘std::ifstream f’
user.cpp:9:15: error: conflicting declaration ‘int g’
user.cpp:8:14: error: ‘g’ has a previous declaration as ‘std::ofstream g’
user.cpp:10:11: error: cannot bind ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ lvalue to ‘std::basic_istream<char>&&’
/usr/include/c++/4.6/istream:852:5: error: initializing argument 1 of ‘std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&&, _Tp&) [with _CharT = char, _Traits = std::char_traits<char>, _Tp = std::basic_ifstream<char>]’
user.cpp:11:18: error: no match for ‘operator/’ in ‘h / g’
user.cpp:11:32: error: no match for ‘operator/’ in ‘d / f’