Borderou de evaluare (job #1123530)

Utilizator tytus11Trifon Titus tytus11 Data 26 februarie 2014 08:58:28
Problema Compresie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:6:18: error: two or more data types in declaration of ‘s’ int char s[100010],ind,numere; ^ user.cpp:6:20: error: two or more data types in declaration of ‘ind’ int char s[100010],ind,numere; ^ user.cpp:6:24: error: two or more data types in declaration of ‘numere’ int char s[100010],ind,numere; ^ user.cpp: In function ‘int chestie()’: user.cpp:11:8: error: ‘s’ was not declared in this scope if(s[ind]=='(') ^ user.cpp:11:10: error: ‘ind’ was not declared in this scope if(s[ind]=='(') ^ user.cpp:25:20: error: ‘numere’ was not declared in this scope numere++; ^ user.cpp:30:23: error: ‘numere’ was not declared in this scope numere++; ^ user.cpp:36:12: error: expected ‘;’ before ‘}’ token } ^ user.cpp:43:12: error: expected primary-expression before ‘}’ token } ^ user.cpp:43:12: error: expected ‘;’ before ‘}’ token user.cpp:37:26: warning: unused variable ‘y2’ [-Wunused-variable] int y[100001],y2[100001],min,max,ok2=0; ^ user.cpp:37:37: warning: unused variable ‘min’ [-Wunused-variable] int y[100001],y2[100001],min,max,ok2=0; ^ user.cpp:37:41: warning: unused variable ‘max’ [-Wunused-variable] int y[100001],y2[100001],min,max,ok2=0; ^ user.cpp:37:45: warning: unused variable ‘ok2’ [-Wunused-variable] int y[100001],y2[100001],min,max,ok2=0; ^ user.cpp:10:26: warning: unused variable ‘sum’ [-Wunused-variable] int x[100001]={0},nr,sum,ok,n=0,i; ^ user.cpp:47:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:54:11: error: ‘s’ was not declared in this scope f.get(s,100010);

Ceva nu functioneaza?