记录详情

Compile Error

foo.c:1:1: warning: data definition has no type or storage class
    1 | x=int(input("本月实际使用流量值 小于3072"))
      | ^
foo.c:1:1: warning: type defaults to 'int' in declaration of 'x' [-Wimplicit-int]
foo.c:1:3: error: expected expression before 'int'
    1 | x=int(input("本月实际使用流量值 小于3072"))
      |   ^~~
foo.c:4:23: error: stray '\357' in program
    4 |  print("流量费用=",fee1)
      |                       ^
foo.c:4:24: error: stray '\274' in program
    4 |  print("流量费用=",fee1)
      |                        ^
foo.c:4:25: error: stray '\214' in program
    4 |  print("流量费用=",fee1)
      |                         ^
foo.c:7:23: error: stray '\357' in program
    7 |  print("流量费用=",fee1)
      |                       ^
foo.c:7:24: error: stray '\274' in program
    7 |  print("流量费用=",fee1)
      |                        ^
foo.c:7:25: error: stray '\214' in program
    7 |  print("流量费用=",fee1)
      |                         ^
foo.c:11:26: error: stray '\357' in program
   11 |     print("电话费用=",fee2)
      |                          ^
foo.c:11:27: error: stray '\274' in program
   11 |     print("电话费用=",fee2)
      |                           ^
foo.c:11:28: error: stray '\214' in program
   11 |     print("电话费用=",fee2)
      |                            ^
foo.c:14:26: error: stray '\357' in program
   14 |     print("电话费用=",fee2)
      |                          ^
foo.c:14:27: error: stray '\274' in program
   14 |     print("电话费用=",fee2)
      |                           ^
foo.c:14:28: error: stray '\214' in program
   14 |     print("电话费用=",fee2)
      |                            ^
foo.c:16:6: error: stray '\357' in program
   16 | print("总费用=",fee)
      |      ^
foo.c:16:7: error: stray '\274' in program
   16 | print("总费用=",fee)
      |       ^
foo.c:16:8: error: stray '\210' in program
   16 | print("总费用=",fee)
      |        ^
foo.c:16:21: error: stray '\357' in program
   16 | print("总费用=",fee)
      |                     ^
foo.c:16:22: error: stray '\274' in program
   16 | print("总费用=",fee)
      |                      ^
foo.c:16:23: error: stray '\214' in program
   16 | print("总费用=",fee)
      |                       ^
foo.c:16:27: error: stray '\357' in program
   16 | print("总费用=",fee)
      |                           ^
foo.c:16:28: error: stray '\274' in program
   16 | print("总费用=",fee)
      |                            ^
foo.c:16:29: error: stray '\211' in program
   16 | print("总费用=",fee)
      |                             ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1007 通信计费
比赛
壹〇玖2班信息技术学考测试
语言
C
递交时间
2022-06-23 17:16:11
评测时间
2022-06-23 17:16:11
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes