Borderou de evaluare (job #3222045)
Utilizator | Data | 8 aprilie 2024 22:16:09 | |
---|---|---|---|
Problema | Calafat | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:126:21: error: conflicting declaration 'long long int sol [200001]'
126 | long long A[200001],sol[200001];
| ^~~
main.cpp:125:39: note: previous declaration as 'int sol [200001]'
125 | int n,k,m,st,dr,i,V[200001],f[200001],sol[200001];
| ^~~
main.cpp: In function 'void update(int, int)':
main.cpp:135:9: warning: statement has no effect [-Wunused-value]
135 | for(poz;poz<=n;poz+=poz&(-poz))
| ^~~
main.cpp: In function 'long long int query(int)':
main.cpp:141:9: warning: statement has no effect [-Wunused-value]
141 | for(poz;poz;poz-=poz&(-poz))
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !