QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#447220#4832. Telepathyegypt_ioi2024_12Compile Error//C++141.3kb2024-06-18 07:08:122024-06-18 07:08:12

Details

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