Borderou de evaluare (job #1735217)

Utilizator cella.florescuCella Florescu cella.florescu Data 29 iulie 2016 12:13:07
Problema Easygraph Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:12:1: error: expected initializer before ‘inline’ inline long long maximum(long long a, long long b){ ^ user.cpp: In function ‘long long int calc(int)’: user.cpp:25:6: error: ‘ssm’ was not declared in this scope if(ssm[nod]==NECALC){ ^ user.cpp:29:37: error: ‘maximum’ was not declared in this scope maxi=maximum(maxi, calc(vf[p])); ^ user.cpp:34:10: error: ‘ssm’ was not declared in this scope return ssm[nod]; ^ user.cpp: In function ‘int main()’: user.cpp:45:10: warning: statement has no effect [-Wunused-value] for(t; t>0; t--){ ^ user.cpp:50:9: error: ‘ssm’ was not declared in this scope ssm[i]=NECALC; ^ user.cpp:60:37: error: ‘maximum’ was not declared in this scope maxim=maximum(maxim, calc(i)); ^ user.cpp: In function ‘long long int calc(int)’: user.cpp:35:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:43:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &t); ^ user.cpp:52:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &n, &m); ^ user.cpp:54:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &cost[i]); ^ user.cpp:56:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &x, &y); ^

Ceva nu functioneaza?