Borderou de evaluare (job #2849906)
Utilizator | Data | 15 februarie 2022 22:26:04 | |
---|---|---|---|
Problema | Arc | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:36:22: error: 'poz' was not declared in this scope
36 | if(a[poz].second<a[i].second)
| ^~~
main.cpp:41:18: error: 'poz' was not declared in this scope
41 | if(a[poz].second<3)
| ^~~
main.cpp:45:20: error: 'poz' was not declared in this scope
45 | int st=poz,dr=poz;
| ^~~
main.cpp:46:27: error: 'dr' was not declared in this scope; did you mean 'nr'?
46 | while(st>0 && dr<=nr && a[st].first==a[dr].first && a[st].second+a[dr].second>=3)
| ^~
| nr
main.cpp:61:18: error: 'dr' was not declared in this scope; did you mean 'nr'?
61 | if(a[dr].first==a[st].first)
| ^~
| nr
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !