记录详情

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:1:13: warning: character constant too long for its type
    1 | a=int(input('第一个月营业额'))
      |             ^~~~~~~~~~~~~~~~~~~~~~~
foo.c:2:13: warning: character constant too long for its type
    2 | b=int(input('增长率')
      |             ^~~~~~~~~~~
foo.c:4:7: warning: character constant too long for its type
    4 | print('第四个月营业额''c''万元')
      |       ^~~~~~~~~~~~~~~~~~~~~~~
foo.c:4:33: warning: character constant too long for its type
    4 | print('第四个月营业额''c''万元')
      |                                 ^~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1018 网店
比赛
壹〇玖3班信息技术学考练习
语言
C
递交时间
2022-06-23 11:21:02
评测时间
2022-06-23 11:21:02
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes