QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#164454#5477. Cake Decorationntu_vjudge_2Compile Error//C++177.1kb2023-09-04 23:35:542023-09-04 23:35:54

详细

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;
      |                                             ^