Borderou de evaluare (job #1160414)

Utilizator AlexieDariciuc Alexie Alexie Data 30 martie 2014 15:38:53
Problema Combinari Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:4:13: warning: missing terminating " character [enabled by default] ifstream in("combinari.in); ^ user.cpp:4:1: error: missing terminating " character ifstream in("combinari.in); ^ user.cpp:5:14: warning: missing terminating " character [enabled by default] ofstream out("combinari.out); ^ user.cpp:5:1: error: missing terminating " character ofstream out("combinari.out); ^ user.cpp:6:7: error: ‘p’ has not been declared int n,p,V[20]; ^ user.cpp:6:9: error: ‘V’ has not been declared int n,p,V[20]; ^ user.cpp:6:14: error: expected ‘)’ before ‘;’ token int n,p,V[20]; ^ user.cpp:6:14: error: expected ‘)’ before ‘;’ token user.cpp: In function ‘int main()’: user.cpp:13:6: error: ‘n’ was not declared in this scope in>>n; ^ user.cpp:14:6: error: ‘p’ was not declared in this scope in>>p; ^ user.cpp: In function ‘void BK(int)’: user.cpp:20:13: error: ‘n’ was not declared in this scope for(i=1;i<=n;i++) ^ user.cpp:22:3: error: ‘V’ was not declared in this scope V[k]=i; ^ user.cpp:23:5: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(valid(k)) ^ user.cpp: In function ‘int solutie(int)’: user.cpp:32:8: error: ‘p’ was not declared in this scope if(k==p) ^ user.cpp: In function ‘int valid(int)’: user.cpp:40:6: error: ‘V’ was not declared in this scope if(V[i]>=V[k]) ^ user.cpp: In function ‘void afisare(int)’: user.cpp:48:3: error: ‘out’ was not declared in this scope out<<V[i]<<" ";

Ceva nu functioneaza?