QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#502297#9156. 百万富翁gg_gong#Compile Error//C++141.3kb2024-08-03 03:17:272024-08-03 03:17:28

详细

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 | }
      | ^