QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#164452 | #5477. Cake Decoration | ntu_vjudge_2 | Compile Error | / | / | C++17 | 7.1kb | 2023-09-04 23:34:01 | 2023-09-04 23:34:01 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
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