QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#164453 | #5477. Cake Decoration | ntu_vjudge_1 | Compile Error | / | / | C++17 | 7.1kb | 2023-09-04 23:34:35 | 2023-09-04 23:34:36 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘void solve()’: answer.code:119:25: error: ‘int128_t’ was not declared in this scope; did you mean ‘int8_t’? 119 | int128_t lb = j, rb = x / ij; | ^~~~~~~~ | int8_t 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:41: error: expected ‘;’ before ‘m’ 121 | int128_t 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