QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#502088#9156. 百万富翁gg_gong#Compile Error//C++141.7kb2024-08-03 00:55:082024-08-03 00:55:08

详细

answer.code: In function ‘int richest(int, int, int)’:
answer.code:65:12: error: ‘n’ was not declared in this scope
   65 |         if(n==1000)
      |            ^
answer.code:69:1: warning: control reaches end of non-void function [-Wreturn-type]
   69 | }
      | ^