记录详情

Compile Error

/in/foo.c:1:1: warning: data definition has no type or storage class
    1 | f_input = input().strip()
      | ^~~~~~~
/in/foo.c:1:1: warning: type defaults to 'int' in declaration of 'f_input' [-Wimplicit-int]
/in/foo.c:1:11: warning: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | f_input = input().strip()
      |           ^~~~~
/in/foo.c:1:18: error: request for member 'strip' in something not a structure or union
    1 | f_input = input().strip()
      |                  ^
/in/foo.c:2:1: error: expected ',' or ';' before 'try'
    2 | try:
      | ^~~
/in/foo.c:6:15: warning: character constant too long for its type
    6 |         print('{:.2f}'.format(c))
      |               ^~~~~~~~

信息

递交者
类型
自测
语言
C
递交时间
2025-07-02 10:33:39
评测时间
2025-07-02 10:33:39
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes