Borderou de evaluare (job #2480940)

Utilizator Sebastian27Marcu Sebastian Sebastian27 Data 26 octombrie 2019 11:36:05
Problema Numar4 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:1:1: error: 'include' does not name a type include <bits/stdc++.h> ^~~~~~~ main.cpp:4:1: error: 'ifstream' does not name a type ifstream fin("numar4.in"); ^~~~~~~~ main.cpp:5:1: error: 'ofstream' does not name a type ofstream fout("numar4.out"); ^~~~~~~~ main.cpp: In function 'void Afisare(int*, int)': main.cpp:9:9: error: 'fout' was not declared in this scope fout << t[i]; ^~~~ main.cpp:10:5: error: 'fout' was not declared in this scope fout << "\n"; ^~~~ main.cpp: In function 'int main()': main.cpp:26:5: error: 'fin' was not declared in this scope fin >> n >> m; ^~~ main.cpp:37:9: error: 'fout' was not declared in this scope fout << (n - i + 1) << "\n"; ^~~~ main.cpp:49:24: error: 'swap' was not declared in this scope swap(a[i], a[j]); ^ main.cpp:70:5: error: 'fout' was not declared in this scope fout << n << "\n"; ^~~~ Non zero exit status: 1

Ceva nu functioneaza?