QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#29721#3019. Probe DroidssmaxCompile Error//C++232.9kb2022-04-22 09:17:562022-05-18 04:24:45

Details

answer.code: In function ‘int main()’:
answer.code:40:13: error: redeclaration of ‘long long int i’
   40 |         int i = lower_bound(rightSlices.begin(), rightSlices.end(), k) - rightSlices.begin(), j;
      |             ^
answer.code:24:14: note: ‘long long int i’ previously declared here
   24 |     for (int i=0; i<q; i++) {
      |              ^