Borderou de evaluare (job #1258441)

Utilizator VladutZ94FMI Chichirau Vlad Vasile VladutZ94 Data 8 noiembrie 2014 21:29:17
Problema Parantezare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:10:11: error: expected ‘]’ before numeric constant } v[100 001]; ^ user.cpp:11:19: error: expected ‘]’ before numeric constant int intrebare[100 001],n,np; ^ user.cpp: In function ‘void citire()’: user.cpp:23:13: error: ‘v’ was not declared in this scope v[k].c=c; ^ user.cpp:30:5: error: ‘np’ was not declared in this scope np=k/2; ^ user.cpp:31:17: error: ‘n’ was not declared in this scope scanf("%d",&n); ^ user.cpp:33:21: error: ‘intrebare’ was not declared in this scope scanf("%d",&intrebare[i]); ^ user.cpp: In function ‘void perechere()’: user.cpp:40:23: error: ‘np’ was not declared in this scope while(percurenta!=np+1) ^ user.cpp:42:19: error: ‘n’ was not declared in this scope for(i=0;i<n;i++) ^ user.cpp:45:16: error: ‘v’ was not declared in this scope if(v[i].c='(') ^ user.cpp: In function ‘void rezolvare()’: user.cpp:70:19: error: ‘n’ was not declared in this scope for(int i=0;i<n;i++) ^ user.cpp:72:23: error: ‘np’ was not declared in this scope for(int j=0;j<np;j++) ^ user.cpp:73:16: error: ‘v’ was not declared in this scope if(v[j].poz==intrebare[i]) ^ user.cpp:73:26: error: ‘intrebare’ was not declared in this scope if(v[j].poz==intrebare[i]) ^ user.cpp:75:23: error: ‘np’ was not declared in this scope for(int j=0;j<np*2;j++) ^ user.cpp:76:16: error: ‘v’ was not declared in this scope if(v[j].pereche==caut&&v[j].poz!=intrebare[i]) ^ user.cpp:76:46: error: ‘intrebare’ was not declared in this scope if(v[j].pereche==caut&&v[j].poz!=intrebare[i])

Ceva nu functioneaza?