/in/foo.c:1:3: error: invalid preprocessing directive #\U00008bfb\U000053d6\U00008f93\U00005165
1 | # 读取输入
| ^~~~~~~~
/in/foo.c:2:1: warning: data definition has no type or storage class
2 | numbers = list(map(int, input().split(',')))
| ^~~~~~~
/in/foo.c:2:1: warning: type defaults to 'int' in declaration of 'numbers' [-Wimplicit-int]
/in/foo.c:2:11: warning: implicit declaration of function 'list' [-Wimplicit-function-declaration]
2 | numbers = list(map(int, input().split(',')))
| ^~~~
/in/foo.c:2:16: warning: implicit declaration of function 'map' [-Wimplicit-function-declaration]
2 | numbers = list(map(int, input().split(',')))
| ^~~
/in/foo.c:2:20: error: expected expression before 'int'
2 | numbers = list(map(int, input().split(',')))
| ^~~
/in/foo.c:3:1: error: expected ',' or ';' before 'target'
3 | target = int(input())
| ^~~~~~
/in/foo.c:5:3: error: invalid preprocessing directive #\U00005148\U00005bf9\U00005217\U00008868\U00006392\U00005e8f\U0000ff0c\U00004fbf\U00004e8e\U0000540e\U00007eed\U00005904\U00007406
5 | # 先对列表排序,便于后续处理
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:10:3: error: "1." after # is not a positive integer
10 | # 1. 单个元素的组合
| ^~
/in/foo.c:15:3: error: "2." after # is not a positive integer
15 | # 2. 两个元素的组合
| ^~
/in/foo.c:17:7: error: invalid preprocessing directive #\U0000907f\U0000514d\U000091cd\U0000590d\U00007ec4\U00005408\U0000ff1a\U000053ea\U00008003\U00008651\U00005f53\U0000524d\U00005143\U00007d20\U0000548c\U00005b83\U0000540e\U00009762\U00007684\U00005143\U00007d20\U00007ec4\U00005408
17 | # 避免重复组合:只考虑当前元素和它后面的元素组合
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:23:11: error: invalid preprocessing directive #\U00005982\U0000679c\U0000548c\U00005df2\U00007ecf\U00005927\U00004e8e\U000076ee\U00006807\U0000503c\U0000ff0c\U00007531\U00004e8e\U00005217\U00008868\U00005df2\U00006392\U00005e8f\U0000ff0c\U0000540e\U00009762\U00007684\U00005143\U00007d20\U00004f1a\U000066f4\U00005927\U0000ff0c\U00006240\U00004ee5\U000053ef\U00004ee5\U000063d0\U0000524d\U00007ed3\U0000675f\U00005185\U00005c42\U00005faa\U000073af
23 | # 如果和已经大于目标值,由于列表已排序,后面的元素会更大,所以可以提前结束内层循环
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:27:3: error: "3." after # is not a positive integer
27 | # 3. 三个元素的组合
| ^~
/in/foo.c:29:7: error: invalid preprocessing directive #\U0000907f\U0000514d\U000091cd\U0000590d\U00007ec4\U00005408\U0000ff1a\U000053ea\U00008003\U00008651\U00005f53\U0000524d\U00005143\U00007d20\U0000548c\U00005b83\U0000540e\U00009762\U00007684\U00005143\U00007d20\U00007ec4\U00005408
29 | # 避免重复组合:只考虑当前元素和它后面的元素组合
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:31:11: error: invalid preprocessing directive #\U00005982\U0000679c\U0000524d\U00004e24\U00004e2a\U00006570\U00007684\U0000548c\U00005df2\U00007ecf\U00005927\U00004e8e\U000076ee\U00006807\U0000503c\U0000ff0c\U00007531\U00004e8e\U00005217\U00008868\U00005df2\U00006392\U00005e8f\U0000ff0c\U0000518d\U000052a0\U00007b2c\U00004e09\U00004e2a\U00006570\U00004f1a\U000066f4\U00005927\U0000ff0c\U00006240\U00004ee5\U000053ef\U00004ee5\U000063d0\U0000524d\U00007ed3\U0000675f\U00005185\U00005c42\U00005faa\U000073af
31 | # 如果前两个数的和已经大于目标值,由于列表已排序,再加第三个数会更大,所以可以提前结束内层循环
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:39:19: error: invalid preprocessing directive #\U000068c0\U000067e5\U00008fd9\U00004e2a\U00004e09\U00005143\U00007ec4\U0000662f\U00005426\U00005df2\U00007ecf\U00004ee5\U00004e0d\U0000540c\U00007684\U0000987a\U00005e8f\U00005b58\U00005728
39 | # 检查这个三元组是否已经以不同的顺序存在
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:41:19: error: invalid preprocessing directive #\U0000751f\U00006210\U00006240\U00006709\U000053ef\U000080fd\U00007684\U00006392\U00005217\U00005e76\U000068c0\U000067e5\U0000662f\U00005426\U00005df2\U00005b58\U00005728
41 | # 生成所有可能的排列并检查是否已存在
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:49:15: error: invalid preprocessing directive #\U00005982\U0000679c\U0000548c\U00005df2\U00007ecf\U00005927\U00004e8e\U000076ee\U00006807\U0000503c\U0000ff0c\U00007531\U00004e8e\U00005217\U00008868\U00005df2\U00006392\U00005e8f\U0000ff0c\U0000540e\U00009762\U00007684\U00005143\U00007d20\U00004f1a\U000066f4\U00005927\U0000ff0c\U00006240\U00004ee5\U000053ef\U00004ee5\U000063d0\U0000524d\U00007ed3\U0000675f\U00006700\U00005185\U00005c42\U00005faa\U000073af
49 | # 如果和已经大于目标值,由于列表已排序,后面的元素会更大,所以可以提前结束最内层循环
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:53:3: error: invalid preprocessing directive #\U000091cd\U000065b0\U00006392\U00005e8f\U00007ed3\U0000679c\U0000ff0c\U00004f7f\U00005355\U00004e2a\U00005143\U00007d20\U00005728\U0000524d\U0000ff0c\U00007136\U0000540e\U00006309\U00005143\U00007ec4\U0000957f\U00005ea6\U00006392\U00005e8f
53 | # 重新排序结果,使单个元素在前,然后按元组长度排序
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:58:3: error: invalid preprocessing directive #\U00005355\U00004e2a\U00006570\U00005b57\U00006309\U0000539f\U0000987a\U00005e8f\U00008f93\U000051fa
58 | # 单个数字按原顺序输出
| ^~~~~~~~~~~~~~~~~~~~
/in/foo.c:64:3: error: invalid preprocessing directive #\U00005143\U00007ec4\U00006392\U00005e8f\U0000ff1a\U00005148\U00006309\U0000957f\U00005ea6\U0000ff0c\U0000518d\U00006309\U00007b2c\U00004e00\U00004e2a\U00005143\U00007d20\U0000ff0c\U0000518d\U00006309\U00007b2c\U00004e8c\U00004e2a\U00005143\U00007d20
64 | # 元组排序:先按长度,再按第一个元素,再按第二个元素...
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:67:3: error: invalid preprocessing directive #\U00006dfb\U000052a0\U00005143\U00007ec4\U00005230\U00007ed3\U0000679c
67 | # 添加元组到结果
| ^~~~~~~~~~~~~~
/in/foo.c:70:3: error: invalid preprocessing directive #\U00008f93\U000051fa\U00007ed3\U0000679c
70 | # 输出结果
| ^~~~~~~~