QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#410550#2308. 胖hyforces #Compile Error//C++202.6kb2024-05-14 09:10:042024-05-14 09:10:05

Details

answer.code: In lambda function:
answer.code:58:71: error: ‘pro’ was not declared in this scope
   58 |                 return proPlus.query(i,2*i-u-1)<2*pref[i]-pref[u]+du||pro.query(2*i-u,2*i-u)<=2*pref[i]-pref[u]+du||proMinus.query(u+1,i-1)<=du-pref[u];
      |                                                                       ^~~