QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#502348#9156. 百万富翁gg_gong#Compile Error//C++141.8kb2024-08-03 04:23:592024-08-03 04:23:59

Details

answer.code: In function ‘int solve_real(int)’:
answer.code:50:9: error: ‘else’ without a previous ‘if’
   50 |         else{
      |         ^~~~
answer.code: In function ‘int solve_small(int)’:
answer.code:27:1: warning: control reaches end of non-void function [-Wreturn-type]
   27 | }
      | ^
answer.code: In function ‘int solve_real(int)’:
answer.code:65:1: warning: control reaches end of non-void function [-Wreturn-type]
   65 | }
      | ^