Borderou de evaluare (job #1453239)

Utilizator theprdvtheprdv theprdv Data 23 iunie 2015 07:16:37
Problema Lowest Common Ancestor Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:33:2: error: ‘FILE’ was not declared in this scope FILE *fin = fopen("lca.in", "r"), ^ user.cpp:33:8: error: ‘fin’ was not declared in this scope FILE *fin = fopen("lca.in", "r"), ^ user.cpp:33:33: error: ‘fopen’ was not declared in this scope FILE *fin = fopen("lca.in", "r"), ^ user.cpp:34:5: error: ‘fout’ was not declared in this scope *fout = fopen("lca.out", "w"); ^ user.cpp:36:29: error: ‘fscanf’ was not declared in this scope fscanf(fin, "%d %d", &N, &M); ^ user.cpp:45:34: error: ‘fprintf’ was not declared in this scope fprintf(fout, "%d\n", LCA(x, y)); ^

Ceva nu functioneaza?