Compile Error
foo.c:1:1: warning: data definition has no type or storage class 1 | n=int(input('n:')) | ^ foo.c:1:1: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] foo.c:1:3: error: expected expression before 'int' 1 | n=int(input('n:')) | ^~~ foo.c:1:13: warning: multi-character character constant [-Wmultichar] 1 | n=int(input('n:')) | ^~~~ foo.c:3:7: warning: multi-character character constant [-Wmultichar] 3 | print('P:',P) | ^~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 题目
- P1002 购物
- 语言
- C
- 递交时间
- 2022-01-16 11:42:19
- 评测时间
- 2022-01-16 11:42:19
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes