Borderou de evaluare (job #789856)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Gusteri ( clasa a 5-a ) | Compilator | cpp-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 15 oct. 2024 17:09:52 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:1: error: 'ifstream' does not name a type
3 | ifstream in("gusteri.in");
| ^~~~~~~~
main.cpp:4:1: error: 'ofstream' does not name a type
4 | ofstream out("gusteri.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:10:5: error: 'in' was not declared in this scope; did you mean 'n'?
10 | in>>n>>p>>m>>a>>b;
| ^~
| n
main.cpp:14:9: error: 'out' was not declared in this scope
14 | out<<n%m<<'\n';
| ^~~