QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#37436#1194. Parehtneses EditorHuangHanShengCompile Error//C++20900b2022-07-01 14:06:522022-07-01 14:06:53

Details

cc1plus: error: ‘::main’ must return ‘int’
answer.code: In function ‘int main()’:
answer.code:13:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   13 |     scanf("%s",s+1);
      |     ~~~~~^~~~~~~~~~