Borderou de evaluare (job #635901)

Utilizator avatar AndreiAlin Piciu Andrei AndreiAlin IP ascuns
Problemă Maxim2 (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 25 feb. 2022 21:30:40 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:1:1: error: 'include' does not name a type 1 | include <bits/stdc++.h> | ^~~~~~~ main.cpp:3:1: error: 'ifstream' does not name a type 3 | ifstream fin("maxim2.in"); | ^~~~~~~~ main.cpp:4:1: error: 'ofstream' does not name a type 4 | ofstream fout("maxim2.out"); | ^~~~~~~~ main.cpp: In function 'void F1()': main.cpp:9:5: error: 'fin' was not declared in this scope 9 | fin>>n>>m; | ^~~ main.cpp:12:5: error: 'sort' was not declared in this scope; did you mean 'short'? 12 | sort(a+1,a+m+1); | ^~~~ | short main.cpp:17:5: error: 'fout' was not declared in this scope 17 | fout<<s; | ^~~~ main.cpp: In function 'int main()': main.cpp:22:5: error: 'fin' was not declared in this scope 22 | fin>>task; | ^~~ main.cpp:24:5: error: 'fout' was not declared in this scope 24 | fout.close(); | ^~~~