QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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; | ^~