Borderou de evaluare (job #2325019)

Utilizator Lazea_Iosua_UVT_FMILazea Iosua Lazea_Iosua_UVT_FMI Data 21 ianuarie 2019 21:14:28
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:1:2: error: invalid preprocessing directive #includefstream #includefstream.h ^~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:29:2: error: 'ifstream' was not declared in this scope ifstream f("apm.in"); ^~~~~~~~ main.cpp:30:2: error: 'ofstream' was not declared in this scope ofstream g("apm.out"); ^~~~~~~~ main.cpp:31:2: error: 'f' was not declared in this scope f >> n >> m; ^ main.cpp:66:2: error: 'g' was not declared in this scope g << su << endl; ^ main.cpp:66:13: error: 'endl' was not declared in this scope g << su << endl; ^~~~ main.cpp:28:26: warning: unused variable 'c' [-Wunused-variable] int su = 0, n, m, x, y, c, cx, cy, i; ^ main.cpp:70:10: error: expected '}' at end of input return 0; ^ Non zero exit status: 1

Ceva nu functioneaza?