0_0_38858272_20722.cpp:1:2: error: stray '\264' in program
1 | [<b4><fa><c2><eb>]
| ^~~~
0_0_38858272_20722.cpp:1:3: error: stray '\372' in program
1 | [<b4><fa><c2><eb>]
| ^~~~
0_0_38858272_20722.cpp:1:4: error: stray '\302' in program
1 | [<b4><fa><c2><eb>]
| ^~~~
0_0_38858272_20722.cpp:1:5: error: stray '\353' in program
1 | [<b4><fa><c2><eb>]
| ^~~~
0_0_38858272_20722.cpp:21:3: error: stray '\264' in program
21 | [/<b4><fa><c2><eb>]
| ^~~~
0_0_38858272_20722.cpp:21:4: error: stray '\372' in program
21 | [/<b4><fa><c2><eb>]
| ^~~~
0_0_38858272_20722.cpp:21:5: error: stray '\302' in program
21 | [/<b4><fa><c2><eb>]
| ^~~~
0_0_38858272_20722.cpp:21:6: error: stray '\353' in program
21 | [/<b4><fa><c2><eb>]
| ^~~~
0_0_38858272_20722.cpp:1:1: error: expected unqualified-id before '[' token
1 | [代码]
| ^
0_0_38858272_20722.cpp:4:1: error: '::main' must return 'int'
4 | void main()
| ^~~~
0_0_38858272_20722.cpp: In function 'int main()':
0_0_38858272_20722.cpp:8:5: error: 'print' was not declared in this scope; did you mean 'printf'?
8 | print("请输入n的值: ");
| ^~~~~
| printf
0_0_38858272_20722.cpp:9:5: error: 'scan' was not declared in this scope; did you mean 'scanf'?
9 | scan("%d", &n);
| ^~~~
| scanf
0_0_38858272_20722.cpp: In function 'int sum(int)':
0_0_38858272_20722.cpp:18:12: error: 'n' was not declared in this scope
18 | return n;
| ^
0_0_38858272_20722.cpp: At global scope:
0_0_38858272_20722.cpp:21:1: error: expected unqualified-id before '[' token
21 | [/代码]
| ^
|