QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#329808 | #7698. ISBN Conversion | GuanYunchang | Compile Error | / | / | C++98 | 2.0kb | 2024-02-17 03:15:46 | 2024-02-17 03:15:46 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:36:30: error: ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’} has no member named ‘back’ 36 | if (s[0] == '-' || s.back() == '-') { | ^~~~