QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#869790#8619. Interactive Casinoucup-team5015#Compile Error//C++2030.6kb2025-01-25 13:25:512025-01-25 13:25:53

Details

answer.code: In function ‘int main()’:
answer.code:756:17: error: ‘M’ was not declared in this scope
  756 |             m = M;
      |                 ^
answer.code:764:21: error: ‘M’ was not declared in this scope
  764 |                     M += b * 2;
      |                     ^
answer.code:766:21: error: ‘M’ was not declared in this scope
  766 |                     M -= b;
      |                     ^
answer.code:767:20: error: ‘M’ was not declared in this scope
  767 |                 if(M <= 0) { assert(0); }
      |                    ^
answer.code:768:20: error: ‘M’ was not declared in this scope
  768 |                 if(M >= 10000) {
      |                    ^