Compile Error
/in/foo.c:1:1: warning: data definition has no type or storage class n = [float(i) for i in str(input()).split()] ^ /in/foo.c:1:1: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] /in/foo.c:1:5: error: expected expression before '[' token n = [float(i) for i in str(input()).split()] ^ /in/foo.c:3:1: error: expected ',' or ';' before 'print' print(max([n[j] + n[j+1] for j in range(len(n)-1)])) ^~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- 1403连续最大值
- 语言
- C
- 递交时间
- 2019-07-25 21:01:23
- 评测时间
- 2019-07-25 21:01:23
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes