Borderou de evaluare (job #664492)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Aritmetica2 (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 27 sept. 2022 11:36:42 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:12:9: error: expected unqualified-id before '.' token
12 | ifstream.in("aritmetica2.in");
| ^
main.cpp:13:9: error: expected unqualified-id before '.' token
13 | ofstream.out("aritmetica2.out");
| ^
main.cpp: In function 'int main()':
main.cpp:17:5: error: 'in' was not declared in this scope; did you mean 'int'?
17 | in>>a>>b>>c;
| ^~
| int
main.cpp:29:5: error: 'out' was not declared in this scope
29 | out<<ans;
| ^~~