Borderou de evaluare (job #1819406)

Utilizator BlackLordFMI Alex Oprea BlackLord Data 30 noiembrie 2016 16:26:18
Problema Jocul NIM Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:5:1: error: ‘ifstream’ does not name a type ifstream fin ("nim.in"); ^ user.cpp:6:1: error: ‘ofstream’ does not name a type ofstream fout ("nim.out"); ^ user.cpp: In function ‘int main()’: user.cpp:12:5: error: ‘fin’ was not declared in this scope fin >> t; ^ user.cpp:21:13: error: ‘fout’ was not declared in this scope fout << "NU\n"; ^ user.cpp:23:13: error: ‘fout’ was not declared in this scope fout << "DA\n"; ^ user.cpp:11:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^

Ceva nu functioneaza?