QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#98601#2919. SubprimeMaMengQiCompile Error//C++17825b2023-04-19 08:14:312023-04-19 08:14:35

詳細信息

answer.code: In function ‘bool contains(long long int, std::string)’:
answer.code:30:55: error: expected unqualified-id before ‘-’ token
   30 |         return to_string(num).find(substr) != string::-1;
      |                                                       ^