Borderou de evaluare (job #2246488)

Utilizator Cojocaru_Andrei_CristianCojocaru Andrei Cristian Cojocaru_Andrei_Cristian Data 27 septembrie 2018 09:52:56
Problema Permut 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:9:5: error: expected initializer before ‘long’ long long p=1,s=0; ^~~~ user.cpp:10:20: error: ‘n’ was not declared in this scope for(int i=1;i<=n;i++) ^ user.cpp:14:20: error: ‘n’ was not declared in this scope for(int i=1;i<=n;i++) ^ user.cpp:18:18: error: ‘n’ was not declared in this scope sort(v1+1,v1+n+1); ^ user.cpp:22:9: error: ‘p’ was not declared in this scope p=1; ^ user.cpp:24:9: error: ‘s’ was not declared in this scope s=s+p; ^ user.cpp:26:11: error: ‘s’ was not declared in this scope cout<<s; ^

Ceva nu functioneaza?