Borderou de evaluare (job #1553147)

Utilizator avramraresAvram Rares Stefan avramrares Data 19 decembrie 2015 12:28:28
Problema Submultimi Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:5:12: warning: missing terminating " character [enabled by default] ofstream g("submultimi ^ user.cpp:5:1: error: missing terminating " character ofstream g("submultimi ^ user.cpp:6:16: warning: missing terminating " character [enabled by default] .out"); ^ user.cpp:6:12: error: missing terminating " character .out"); ^ user.cpp:6:12: error: expected primary-expression before ‘.’ token user.cpp:7:7: error: ‘a’ was not declared in this scope int n,a[9],sol[9],j,x; ^ user.cpp:7:12: error: ‘sol’ was not declared in this scope int n,a[9],sol[9],j,x; ^ user.cpp:7:19: error: ‘j’ was not declared in this scope int n,a[9],sol[9],j,x; ^ user.cpp:7:21: error: ‘x’ was not declared in this scope int n,a[9],sol[9],j,x; ^ user.cpp: In function ‘void afis(int)’: user.cpp:12:12: error: ‘a’ was not declared in this scope g<<a[sol[i]]<<' '; ^ user.cpp:12:14: error: ‘sol’ was not declared in this scope g<<a[sol[i]]<<' '; ^ user.cpp: In function ‘bool ok(int)’: user.cpp:20:12: error: ‘sol’ was not declared in this scope if(sol[k]==sol[i]) ^ user.cpp: In function ‘void back(int)’: user.cpp:27:11: error: ‘n’ was not declared in this scope if(k<=n) ^ user.cpp:29:15: error: ‘sol’ was not declared in this scope for(i=sol[k-1]+1; i<=n; i++) ^ user.cpp: In function ‘int main()’: user.cpp:42:8: error: ‘n’ was not declared in this scope f>>n; ^ user.cpp:45:9: error: ‘a’ was not declared in this scope a[i]=i; ^

Ceva nu functioneaza?