- Owner
- toan truong
- Problem
- Queries
- Source
- 1.04KB
- Result
- Wrong answer
Compiler output
prog.cpp: In function 'void update(int*, int*, int, int, int, int)': prog.cpp:9:30: warning: left operand of comma operator has no effect [-Wunused-value] for (int i = (p / k) * k; i < n, i < (p / k + 1) * k; i++) ^ prog.cpp: At global scope: prog.cpp:13:31: warning: unused parameter 'n' [-Wunused-parameter] int query(int *a, int *s, int n, int k, int l, int r) ^
Results
Test number Result Time 1 Wrong answer 0.2735s