QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#502295#9156. 百万富翁gg_gong#Compile Error//C++141.3kb2024-08-03 03:16:462024-08-03 03:16:47

Details

answer.code: In function ‘int solve_real(int)’:
answer.code:34:25: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
   34 |                         return;
      |                         ^~~~~~
answer.code: In function ‘int solve_small(int)’:
answer.code:27:1: warning: control reaches end of non-void function [-Wreturn-type]
   27 | }
      | ^