/in/foo.c:3:1: warning: data definition has no type or storage class
num = input('输入年龄')
^~~
/in/foo.c:3:1: warning: type defaults to 'int' in declaration of 'num' [-Wimplicit-int]
/in/foo.c:3:7: warning: implicit declaration of function 'input' [-Wimplicit-function-declaration]
num = input('输入年龄')
^~~~~
/in/foo.c:3:13: warning: character constant too long for its type
num = input('输入年龄')
^~~~~~~~~~~~~~
/in/foo.c:3:7: error: initializer element is not constant
num = input('输入年龄')
^~~~~
/in/foo.c:4:1: error: expected ',' or ';' before 'if'
if num <2: #判断num的值
^~
/in/foo.c:4:17: error: stray '#' in program
if num <2: #判断num的值
^
/in/foo.c:4:18: error: stray '\345' in program
if num <2: #判断num的值
^
/in/foo.c:4:19: error: stray '\210' in program
if num <2: #判断num的值
^
/in/foo.c:4:20: error: stray '\244' in program
if num <2: #判断num的值
^
/in/foo.c:4:21: error: stray '\346' in program
if num <2: #判断num的值
^
/in/foo.c:4:22: error: stray '\226' in program
if num <2: #判断num的值
^
/in/foo.c:4:23: error: stray '\255' in program
if num <2: #判断num的值
^
/in/foo.c:4:27: error: stray '\347' in program
if num <2: #判断num的值
^
/in/foo.c:4:28: error: stray '\232' in program
if num <2: #判断num的值
^
/in/foo.c:4:29: error: stray '\204' in program
if num <2: #判断num的值
^
/in/foo.c:4:30: error: stray '\345' in program
if num <2: #判断num的值
^
/in/foo.c:4:31: error: stray '\200' in program
if num <2: #判断num的值
^
/in/foo.c:4:32: error: stray '\274' in program
if num <2: #判断num的值
^
/in/foo.c:5:9: warning: multi-character character constant [-Wmultichar]
print'123'
^~~~~
/in/foo.c:7:12: warning: multi-character character constant [-Wmultichar]
print '615'
^~~~~
/in/foo.c:9:8: warning: multi-character character constant [-Wmultichar]
print'1230'
^~~~~~