leetcode常见错误

1.expected declaration or statement at end of input

括号缺失

2.error: stray ‘\357’ in program [solution.c] else key=nums[fast+1]; ^

标点符号用错

3.error: control reaches end of non-void function

忘记写return语句

你可能感兴趣的:(leetcode,算法,职场和发展)