Borderou de evaluare (job #1103929)

Utilizator varga13VarGaz13 varga13 Data 10 februarie 2014 09:38:42
Problema Capitala Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:12:1: error: expected ‘,’ or ‘;’ before ‘int’ int n, min, mm=((1<<30)-1)*2, maximcur, maxim[mx],cur,I; ^ user.cpp: In function ‘void citire()’: user.cpp:18:5: error: ‘n’ was not declared in this scope f>>n; ^ user.cpp: In function ‘void df(int, int)’: user.cpp:31:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<G[x].size();i++) ^ user.cpp:37:5: error: ‘maxim’ was not declared in this scope maxim[cur] += adancime; ^ user.cpp:37:11: error: ‘cur’ was not declared in this scope maxim[cur] += adancime; ^ user.cpp: In function ‘void Write()’: user.cpp:46:17: error: ‘n’ was not declared in this scope for(int i=1;i<=n;i++) ^ user.cpp:48:6: error: ‘maxim’ was not declared in this scope if(maxim[i]<mm) ^ user.cpp:48:15: error: ‘mm’ was not declared in this scope if(maxim[i]<mm) ^ user.cpp:51:4: error: ‘I’ was not declared in this scope I=i; ^ user.cpp:54:8: error: ‘I’ was not declared in this scope cout<<I<<" "<<mm; ^ user.cpp:54:16: error: ‘mm’ was not declared in this scope cout<<I<<" "<<mm; ^ user.cpp: In function ‘int main()’: user.cpp:59:17: error: ‘n’ was not declared in this scope for(int i=1;i<=n;i++) ^ user.cpp:62:3: error: ‘cur’ was not declared in this scope cur = i; ^

Ceva nu functioneaza?