Borderou de evaluare (job #2507131)

Utilizator Hackerul_GoguIordache Alexandru Hackerul_Gogu Data 9 decembrie 2019 18:02:04
Problema Int Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:4:1: error: 'ifstream' does not name a type ifstream fin("int.in"); ^~~~~~~~ main.cpp:5:1: error: 'ofstream' does not name a type ofstream fout("int.out"); ^~~~~~~~ main.cpp: In function 'void citire()': main.cpp:8:2: error: 'fin' was not declared in this scope fin>>n; ^~~ main.cpp: In function 'void sortare(int, int)': main.cpp:42:11: error: 'sort' was not declared in this scope sort(x,m); ^ main.cpp:42:11: note: suggested alternative: In file included from /usr/include/c++/6/algorithm:62:0, from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:65, from main.cpp:1: /usr/include/c++/6/bits/stl_algo.h:4727:5: note: 'std::sort' sort(_RandomAccessIterator __first, _RandomAccessIterator __last, ^~~~ main.cpp: In function 'void afisare()': main.cpp:59:2: error: 'fout' was not declared in this scope fout<<s; ^~~~ Non zero exit status: 1

Ceva nu functioneaza?