Borderou de evaluare (job #1384886)

Utilizator adi_ispas95FMI - Adrian Ispas adi_ispas95 Data 11 martie 2015 15:02:08
Problema Parcurgere DFS - componente conexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:13:4: error: ‘FILE’ was not declared in this scope FILE* f = fopen("dfs.in","r"); ^ user.cpp:13:10: error: ‘f’ was not declared in this scope FILE* f = fopen("dfs.in","r"); ^ user.cpp:13:32: error: ‘fopen’ was not declared in this scope FILE* f = fopen("dfs.in","r"); ^ user.cpp:14:10: error: ‘g’ was not declared in this scope FILE* g = fopen("dfs.out","w"); ^ user.cpp:24:21: error: ‘fscanf’ was not declared in this scope fscanf(f,"%d",&n); ^ user.cpp:49:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < v[nod].size(); i++) ^ user.cpp:67:22: error: ‘fprintf’ was not declared in this scope fprintf(g,"%d",cc); ^ user.cpp:19:18: warning: unused variable ‘j’ [-Wunused-variable] int n, m, i, j, x, y, nod, sursa, k = 1, cc = 0; ^

Ceva nu functioneaza?