Borderou de evaluare (job #1771464)

Utilizator ghost24ghost ghost ghost24 Data 5 octombrie 2016 17:49:59
Problema Sum Max 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:69:1: error: expected primary-expression before ‘}’ token } ^ user.cpp:69:1: error: expected ‘;’ before ‘}’ token user.cpp:21:21: warning: unused variable ‘sum’ [-Wunused-variable] int a,b,i,j,poz,sum=0; ^ user.cpp: In function ‘void c2()’: user.cpp:74:9: warning: unused variable ‘aux’ [-Wunused-variable] int aux=0,i,poz=n*(n-1)/2; ^

Ceva nu functioneaza?