Borderou de evaluare (job #665131)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Aritmetica2 (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 30 sept. 2022 10:59:47 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:9:5: error: 'fin' was not declared in this scope; did you mean 'in'?
9 | fin>>a>>b>>x;
| ^~~
| in
main.cpp:12:15: error: expected ';' before 'fout'
12 | sum=a+b
| ^
| ;
13 | fout<<sum;
| ~~~~
main.cpp:18:9: error: 'fout' was not declared in this scope; did you mean 'out'?
18 | fout<<scadere;
| ^~~~
| out
main.cpp:23:9: error: 'fout' was not declared in this scope; did you mean 'out'?
23 | fout<<produs;
| ^~~~
| out
main.cpp:28:16: error: 'm' was not declared in this scope
28 | rest=a%m;
| ^
main.cpp:29:9: error: 'fout' was not declared in this scope; did you mean 'out'?
29 | fout<<cat<<" "<<rest;
| ^~~~
| out