QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#123617#6510. Best Carry Player 3hyforcesCompile Error//C++14626b2023-07-13 02:51:242023-07-13 02:51:25

详细

answer.code: In function ‘int main()’:
answer.code:15:39: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
   15 |         if(k<=1){cout<<abs(x-y)<<endl;return;}
      |                                       ^~~~~~