QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#502445#9156. 百万富翁gg_gongCompile Error//C++141.5kb2024-08-03 05:54:242024-08-03 05:54:29

Details

answer.code: In function ‘int solve_real(int)’:
answer.code:38:33: error: ‘righpart’ was not declared in this scope; did you mean ‘rightpart’?
   38 |                                 righpart.push_back(vec[r]);
      |                                 ^~~~~~~~
      |                                 rightpart
answer.code: In function ‘int solve_small(int)’:
answer.code:28:1: warning: control reaches end of non-void function [-Wreturn-type]
   28 | }
      | ^