QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#164454#5477. Cake Decorationntu_vjudge_2Compile Error//C++177.1kb2023-09-04 23:35:542023-09-04 23:35:54

Details

answer.code: In function ‘void solve()’:
answer.code:147:33: error: ‘int128_t’ was not declared in this scope; did you mean ‘int8_t’?
  147 |                                 int128_t m = (lb + rb + 1) / 2;
      |                                 ^~~~~~~~
      |                                 int8_t
answer.code:148:45: error: ‘m’ was not declared in this scope
  148 |                                 if (i * j * m * (m+1) <= x) lb = m;
      |                                             ^