记录详情

Compile Error

/in/foo.c:2:1: warning: data definition has no type or storage class
    2 | a=int(input("请输入边长(单位厘米):"))
      | ^
/in/foo.c:2:1: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
/in/foo.c:2:3: error: expected expression before 'int'
    2 | a=int(input("请输入边长(单位厘米):"))
      |   ^~~

信息

递交者
类型
自测
语言
C
递交时间
2025-12-17 14:51:12
评测时间
2025-12-17 14:51:12
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes