QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#164452#5477. Cake Decorationntu_vjudge_2Compile Error//C++177.1kb2023-09-04 23:34:012023-09-04 23:34:01

Details

answer.code: In function ‘void solve()’:
answer.code:119:25: error: ‘int128’ was not declared in this scope; did you mean ‘ynf128’?
  119 |                         int128 lb = j, rb = x / ij;
      |                         ^~~~~~
      |                         ynf128
answer.code:120:32: error: ‘lb’ was not declared in this scope; did you mean ‘l’?
  120 |                         while (lb < rb){
      |                                ^~
      |                                l
answer.code:120:37: error: ‘rb’ was not declared in this scope; did you mean ‘r’?
  120 |                         while (lb < rb){
      |                                     ^~
      |                                     r
answer.code:121:39: error: expected ‘;’ before ‘m’
  121 |                                 int128 m = (lb + rb + 1) / 2;
      |                                       ^~
      |                                       ;
answer.code:122:45: error: ‘m’ was not declared in this scope
  122 |                                 if (i * j * m * (m+1) <= x) lb = m;
      |                                             ^
answer.code:125:29: error: ‘lb’ was not declared in this scope; did you mean ‘l’?
  125 |                         if (lb == j) break;
      |                             ^~
      |                             l
answer.code:126:35: error: ‘lb’ was not declared in this scope; did you mean ‘l’?
  126 |                         ll maxc = lb;
      |                                   ^~
      |                                   l
answer.code:135:53: error: ‘rb’ was not declared in this scope; did you mean ‘r’?
  135 |                         lb = max((ll)j, l - i - 1); rb = min(maxc, r - i - 1);
      |                                                     ^~
      |                                                     r