记录详情

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:3:1: warning: data definition has no type or storage class
    3 | c=0
      | ^
foo.c:3:1: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int]
foo.c:4:1: error: expected ',' or ';' before 'for'
    4 | for i in range(0,a):
      | ^~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1005 考试分数计算
比赛
壹〇玖2班python测试
语言
C
递交时间
2022-01-17 11:53:37
评测时间
2022-01-17 11:53:37
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes