Borderou de evaluare (job #631556)

Utilizator myshuSpatariu Mihai-Constantin myshu Data 8 noiembrie 2011 16:44:39
Problema Zmeu2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:8:2: error: declaration does not declare anything [-fpermissive] int ; ^ user.cpp:9:8: error: ‘n’ was not declared in this scope fcin>>n>>p>>k; ^ user.cpp:9:11: error: ‘p’ was not declared in this scope fcin>>n>>p>>k; ^ user.cpp:9:14: error: ‘k’ was not declared in this scope fcin>>n>>p>>k; ^ user.cpp:11:6: error: ‘i’ was not declared in this scope for(i=1;i<=p;i++) ^ user.cpp:12:9: error: ‘l’ was not declared in this scope fcin>>l[i]>>cap[i]; ^ user.cpp:12:15: error: ‘cap’ was not declared in this scope fcin>>l[i]>>cap[i]; ^ user.cpp:13:6: error: ‘i’ was not declared in this scope for(i=1;i<=k;i++) ^ user.cpp:14:10: error: ‘x’ was not declared in this scope {fcin>>x>>y; ^ user.cpp:14:13: error: ‘y’ was not declared in this scope {fcin>>x>>y; ^ user.cpp:16:2: error: ‘c’ was not declared in this scope c[1]=1;p2=1;u=1; ^ user.cpp:16:9: error: ‘p2’ was not declared in this scope c[1]=1;p2=1;u=1; ^ user.cpp:16:14: error: ‘u’ was not declared in this scope c[1]=1;p2=1;u=1; ^ user.cpp:19:3: error: ‘x’ was not declared in this scope x=c[p++]; ^ user.cpp:20:7: error: ‘i’ was not declared in this scope for(i=1;i<=p;i++) ^ user.cpp:21:2: error: expected primary-expression before ‘}’ token } ^ user.cpp:21:2: error: expected ‘;’ before ‘}’ token

Ceva nu functioneaza?