QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#731236#2919. SubprimeHuangHanShengCompile Error//C++981.7kb2024-11-10 00:49:122024-11-10 00:49:12

Details

answer.code: In function ‘bool valid(ll, std::string)’:
answer.code:51:17: error: ‘to_string’ was not declared in this scope
   51 |      string s = to_string(num);
      |                 ^~~~~~~~~
answer.code:51:17: note: ‘std::to_string’ is only available from C++17 onwards