Borderou de evaluare (job #2428420)

Utilizator nicuhasCemartan Nicolae nicuhas Data 5 iunie 2019 09:14:22
Problema Xspe Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:4:13: error: variable 'std::ifstream fin' has initializer but incomplete type ifstream fin("xspe.in"); ^ main.cpp:5:14: error: variable 'std::ofstream fout' has initializer but incomplete type ofstream fout("xspe.out"); ^ main.cpp: In function 'int main()': main.cpp:12:8: error: invalid operands of types 'FILE* {aka _IO_FILE*}' and 'int' to binary 'operator>>' fin>>n; ~~~^~~ main.cpp:14:12: error: invalid operands of types 'FILE* {aka _IO_FILE*}' and 'int' to binary 'operator>>' fin>>v[i]; ~~~^~~~~~ main.cpp:32:13: error: invalid operands of types 'FILE* {aka _IO_FILE*}' and 'int' to binary 'operator<<' fout<<v[i]<<' '; ~~~~^~~~~~ Non zero exit status: 1

Ceva nu functioneaza?