Borderou de evaluare (job #789769)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Resturi(clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 14 oct. 2024 09:53:09 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:10: error: expected unqualified-id before string constant
5 | ifstream("resturi.in");
| ^~~~~~~~~~~~
main.cpp:5:10: error: expected ')' before string constant
5 | ifstream("resturi.in");
| ~^~~~~~~~~~~~
| )
main.cpp:6:10: error: expected unqualified-id before string constant
6 | ofstream("resturi.out");
| ^~~~~~~~~~~~~
main.cpp:6:10: error: expected ')' before string constant
6 | ofstream("resturi.out");
| ~^~~~~~~~~~~~~
| )
main.cpp: In function 'int main()':
main.cpp:18:5: error: 'f' was not declared in this scope
18 | f >> a >> b >> c;
| ^
main.cpp:30:5: error: 'g' was not declared in this scope
30 | g << nr * gauss(c) + s;
| ^