QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#101780#5460. Sum of Numberssmax#Compile Error//C++232.3kb2023-05-01 07:02:062023-05-01 07:02:09

Details

answer.code: In function ‘int main()’:
answer.code:81:14: error: too many arguments to function ‘void recur(int, int, int, int)’
   81 |         recur(0, INT_MAX, INT_MIN, 0, two, neg);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
answer.code:25:6: note: declared here
   25 | void recur(int i, int mn, int mx, int sum) {
      |      ^~~~~