Borderou de evaluare (job #1487320)
Utilizator | Data | 16 septembrie 2015 17:55:59 | |
---|---|---|---|
Problema | Coco Chanel | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:33: error: expected unqualified-id before ‘int’
int n,m,c[100000],g[100000],i,j,int gcheck[100000],nrg=0;
^
user.cpp: In function ‘int gaini(int)’:
user.cpp:10:23: error: ‘gcheck’ was not declared in this scope
{if(c[coc]>=g[i]&& ! gcheck[i]){
^
user.cpp:11:31: error: ‘nrg’ was not declared in this scope
ok=1; gcheck[i]=1;c[coc]*=2;nrg++;
^
user.cpp:17:19: error: ‘nrg’ was not declared in this scope
if (ok==1) return nrg;
^
user.cpp: In function ‘int main()’:
user.cpp:31:1: error: expected ‘,’ or ‘;’ before ‘fin’
fin>>n; fin>>m;
^
user.cpp:41:4: error: ‘gcheck’ was not declared in this scope
gcheck[j]=0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !