QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#101780#5460. Sum of Numberssmax#Compile Error//C++232.3kb2023-05-01 07:02:062023-05-01 07:02:09

详细

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) {
      |      ^~~~~