Borderou de evaluare (job #3312345)
| Utilizator | Data | 27 septembrie 2025 16:55:52 | |
|---|---|---|---|
| Problema | Mit | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'long long int getBucket(long long int)':
main.cpp:9:29: error: expected identifier before '(' token
9 | int getBucket(int i) return (i+bs-1)/bs;
| ^
main.cpp:9:22: error: named return values are no longer supported
9 | int getBucket(int i) return (i+bs-1)/bs;
| ^~~~~~
main.cpp:13:15: error: 'l' was not declared in this scope
13 | for(int i=l;i<=r;i++)
| ^
main.cpp:13:20: error: 'r' was not declared in this scope
13 | for(int i=l;i<=r;i++)
| ^
main.cpp: In function 'int main()':
main.cpp:58:26: error: 'query' was not declared in this scope
58 | if(tip==1) cout<<query(l,r)<<endl;
| ^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
