记录详情

Compile Error

foo.c:1:1: warning: data definition has no type or storage class
    1 | a=int(input("起始门牌号:"))
      | ^
foo.c:1:1: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
foo.c:1:3: error: expected expression before 'int'
    1 | a=int(input("起始门牌号:"))
      |   ^~~
foo.c:4:1: error: stray '\302' in program
    4 |     if i%2==0:
      | ^
foo.c:4:2: error: stray '\240' in program
    4 |     if i%2==0:
      |  ^
foo.c:4:3: error: stray '\302' in program
    4 |     if i%2==0:
      |   ^
foo.c:4:4: error: stray '\240' in program
    4 |     if i%2==0:
      |    ^
foo.c:4:5: error: stray '\302' in program
    4 |     if i%2==0:
      |     ^
foo.c:4:6: error: stray '\240' in program
    4 |     if i%2==0:
      |      ^
foo.c:5:1: error: stray '\302' in program
    5 |        s=s+i
      | ^
foo.c:5:2: error: stray '\240' in program
    5 |        s=s+i
      |  ^
foo.c:5:3: error: stray '\302' in program
    5 |        s=s+i
      |   ^
foo.c:5:4: error: stray '\240' in program
    5 |        s=s+i
      |    ^
foo.c:5:5: error: stray '\302' in program
    5 |        s=s+i
      |     ^
foo.c:5:6: error: stray '\240' in program
    5 |        s=s+i
      |      ^
foo.c:5:7: error: stray '\302' in program
    5 |        s=s+i
      |       ^
foo.c:5:8: error: stray '\240' in program
    5 |        s=s+i
      |        ^
foo.c:5:9: error: stray '\302' in program
    5 |        s=s+i
      |         ^
foo.c:5:10: error: stray '\240' in program
    5 |        s=s+i
      |          ^
foo.c:5:11: error: stray '\302' in program
    5 |        s=s+i
      |           ^
foo.c:5:12: error: stray '\240' in program
    5 |        s=s+i
      |            ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1017 门牌号
比赛
壹〇玖python测试补测
语言
C
递交时间
2022-01-17 20:47:15
评测时间
2022-01-17 20:47:15
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes