Borderou de evaluare (job #1910260)
Utilizator | Data | 7 martie 2017 16:13:24 | |
---|---|---|---|
Problema | Permsplit | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:1: warning: ‘typedef’ was ignored in this declaration [enabled by default]
};
^
user.cpp: In function ‘void build(int, int, int)’:
user.cpp:11:9: error: ‘Amax’ was not declared in this scope
Amax[nod]={v[st],st};
^
user.cpp:11:20: error: ‘v’ was not declared in this scope
Amax[nod]={v[st],st};
^
user.cpp:18:12: error: ‘Amax’ was not declared in this scope
if(Amax[2*nod].val>=A[2*nod+1].val)
^
user.cpp:18:29: error: ‘A’ was not declared in this scope
if(Amax[2*nod].val>=A[2*nod+1].val)
^
user.cpp: In function ‘void taie(int, int)’:
user.cpp:32:5: error: ‘sol’ was not declared in this scope
sol.val=0;
^
user.cpp:34:14: error: ‘n’ was not declared in this scope
qmax(1,1,n,st,dr);
^
user.cpp:34:21: error: ‘qmax’ was not declared in this scope
qmax(1,1,n,st,dr);
^
user.cpp:36:21: error: ‘valid’ was not declared in this scope
if(valid(st,imax) && valid(imax+1,dr))
^
user.cpp:38:9: error: ‘cuts’ was not declared in this scope
cuts.push_back(imax);
^
user.cpp:42:23: error: ‘valid’ was not declared in this scope
if(valid(st,imax-1) && valid(imax,dr))
^
user.cpp:46:9: error: ‘cuts’ was not declared in this scope
cuts.push_back(imax-1);
^
user.cpp:31:9: warning: unused variable ‘maxim’ [-Wunused-variable]
int maxim=0,imax=0;
^
user.cpp: In function ‘int main()’:
user.cpp:53:17: error: ‘n’ was not declared in this scope
scanf("%d",&n);
^
user.cpp:56:21: error: ‘v’ was not declared in this scope
scanf("%d",&v[i]);
^
user.cpp:60:13: error: ‘afisare’ was not declared in this scope
afisare();
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !