Borderou de evaluare (job #1325812)

Utilizator badboyvladVlad Isoc badboyvlad Data 24 ianuarie 2015 13:15:26
Problema Cutii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:7:1: error: expected ‘,’ or ‘;’ before ‘int’ int i,n,t,j; ^ user.cpp: In function ‘void ordonare(cutie*)’: user.cpp:24:19: error: ‘n’ was not declared in this scope for(h=1;h<n;h++) ^ user.cpp: In function ‘int test(cutie*)’: user.cpp:44:16: error: ‘n’ was not declared in this scope for(k=2;k<=n;k++) ^ user.cpp: In function ‘int main()’: user.cpp:61:8: error: ‘n’ was not declared in this scope f>>n>>t; ^ user.cpp:61:11: error: ‘t’ was not declared in this scope f>>n>>t; ^ user.cpp:62:9: error: ‘i’ was not declared in this scope for(i=1;i<=t;i++) ^ user.cpp:64:13: error: ‘j’ was not declared in this scope for(j=1;j<=n;j++) ^ user.cpp:72:9: error: ‘i’ was not declared in this scope for(i=1;i<=t;i++)g<<test(p[i].c)<<endl; ^

Ceva nu functioneaza?