Borderou de evaluare (job #770351)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Consiliu (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 26 mar. 2024 20:43:10 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:1: error: 'ifstream' does not name a type
4 | ifstream fin("consiliu.in");
| ^~~~~~~~
main.cpp:5:1: error: 'ofstream' does not name a type
5 | ofstream fout("consiliu.out")
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:12:5: error: 'fin' was not declared in this scope; did you mean 'sin'?
12 | fin >> n;
| ^~~
| sin
main.cpp:22:17: error: 'v' was not declared in this scope
22 | v[p]++;
| ^
main.cpp:26:17: error: 'v' was not declared in this scope
26 | v[p]++;
| ^
main.cpp:33:17: error: 'v' was not declared in this scope
33 | v[p]++;
| ^
main.cpp:39:12: error: 'v' was not declared in this scope
39 | if(v[i]==n)
| ^
main.cpp:44:5: error: 'fout' was not declared in this scope
44 | fout << r;
| ^~~~