QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#813367 | #9783. Duloc Network | ucup-team121# | Compile Error | / | / | C++20 | 16.5kb | 2024-12-14 04:07:54 | 2024-12-14 04:07:55 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In lambda function: answer.code:474:9: error: ‘Q’ is not captured 474 | Q++; | ^ answer.code:473:18: note: the lambda has no capture-default 473 | auto ask = [n](vector<int> v) { | ^ answer.code:471:9: note: ‘int Q’ declared here 471 | int Q = 0; | ^ answer.code:475:13: error: ‘Q’ is not captured 475 | if (Q > MX) abort(); | ^ answer.code:473:18: note: the lambda has no capture-default 473 | auto ask = [n](vector<int> v) { | ^ answer.code:471:9: note: ‘int Q’ declared here 471 | int Q = 0; | ^ answer.code:475:17: error: ‘MX’ is not captured 475 | if (Q > MX) abort(); | ^~ answer.code:473:18: note: the lambda has no capture-default 473 | auto ask = [n](vector<int> v) { | ^ answer.code:470:9: note: ‘int MX’ declared here 470 | int MX = 3500; | ^~