Borderou de evaluare (job #3202109)
Utilizator | Data | 10 februarie 2024 17:54:00 | |
---|---|---|---|
Problema | Lexicografic | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:6:22: error: 'siz' was not declared in this scope
6 | pair<int,int> Amin[4*siz+3];
| ^~~
main.cpp: In function 'void build(int, int, int)':
main.cpp:15:9: error: 'Amin' was not declared in this scope
15 | Amin[nod]={V[st],st};
| ^~~~
main.cpp:23:12: error: 'Amin' was not declared in this scope
23 | if(Amin[2*nod+1]<Amin[2*nod])
| ^~~~
main.cpp: In function 'void update_min(int, int, int, int)':
main.cpp:47:9: error: 'Amin' was not declared in this scope
47 | Amin[nod]={INF,poz};
| ^~~~
main.cpp:55:12: error: 'Amin' was not declared in this scope
55 | if(Amin[2*nod+1].first<Amin[2*nod].first)
| ^~~~
main.cpp: In function 'std::pair<int, int> query_min(int, int, int, int, int)':
main.cpp:90:16: error: 'Amin' was not declared in this scope
90 | return Amin[nod];
| ^~~~
main.cpp: In function 'int main()':
main.cpp:125:13: error: 'Amin' was not declared in this scope
125 | Amin[i]={0,0};
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !