Borderou de evaluare (job #337874)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cifre 4 (clasa a 5-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 8 ian. 2018 01:13:47 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:5: error: expected ‘,’ or ‘;’ before ‘f’
user.cpp:10:46: error: expected primary-expression before ‘>’ token
user.cpp:10:49: error: expected ‘;’ before ‘)’ token
user.cpp:11:9: error: ‘i’ was not declared in this scope
user.cpp:11:25: error: no match for ‘operator=’ in ‘f = 0’
user.cpp:11:25: note: candidate is:
/usr/include/c++/4.6/fstream:420:11: note: std::basic_ifstream<char>& std::basic_ifstream<char>::operator=(const std::basic_ifstream<char>&) <deleted>
/usr/include/c++/4.6/fstream:420:11: note: no known conversion for argument 1 from ‘int’ to ‘const std::basic_ifstream<char>&’
user.cpp:11:35: error: no match for ‘operator*’ in ‘f * f’
user.cpp:11:46: error: no match for ‘operator*’ in ‘f * f’
user.cpp:11:62: error: no match for ‘operator++’ in ‘++f’