Borderou de evaluare (job #749439)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Div & Mul (clasa a 9-a) | Compilator | cpp-32 |
Rundă | cexgj_9_2 | Status | evaluat |
Dată | 3 dec. 2023 21:28:16 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:1: error: stray '`' in program
1 | `#include <fstream>
| ^
main.cpp:1:2: error: stray '#' in program
1 | `#include <fstream>
| ^
main.cpp:54:1: error: stray '`' in program
54 | `
| ^
main.cpp:1:3: error: 'include' does not name a type
1 | `#include <fstream>
| ^~~~~~~
main.cpp:3:1: error: 'ifstream' does not name a type
3 | ifstream fin ("dezechilibru.in");
| ^~~~~~~~
main.cpp:4:1: error: 'ofstream' does not name a type
4 | ofstream fout ("dezechilibru.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:10:5: error: 'fin' was not declared in this scope
10 | fin >> n;
| ^~~
main.cpp:49:20: error: 'fout' was not declared in this scope
49 | if (maxD == 0) fout << primA << "\n";
| ^~~~
main.cpp:50:10: error: 'fout' was not declared in this scope
50 | else fout << maxA << "\n";
| ^~~~