QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#447220#4832. Telepathyegypt_ioi2024_12Compile Error//C++141.3kb2024-06-18 07:08:122024-06-18 07:08:12

詳細信息

answer.code: In function ‘double solve(int)’:
answer.code:36:9: error: return-statement with no value, in function returning ‘double’ [-fpermissive]
   36 |         return;
      |         ^~~~~~
answer.code:43:1: warning: control reaches end of non-void function [-Wreturn-type]
   43 | }
      | ^