QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#29721#3019. Probe DroidssmaxCompile Error//C++232.9kb2022-04-22 09:17:562022-05-18 04:24:45

詳細信息

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++) {
      |              ^