QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#98088 | #2928. Espresso! | GuanYunchang | Compile Error | / | / | C++98 | 1.1kb | 2023-04-19 05:23:48 | 2023-04-19 05:23:52 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘void solved()’: answer.code:28:24: error: ‘stoi’ was not declared in this scope; did you mean ‘atoi’? 28 | int numShots = stoi(order); | ^~~~ | atoi answer.code:29:19: error: ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’} has no member named ‘back’ 29 | if (order.back() == 'L') { | ^~~~