Compile Error
foo.c: In function 'main': foo.c:18:9: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'double *' [-Wformat=] scanf("%lf%d",&m,&p[i]); ^ foo.c:19:14: error: expected expression before 'int' t[i]=int(m*100); ^ foo.c:34:5: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=] printf("%d",dp[0][10000]); ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1836 HYS与七夕节大作战
- 语言
- C
- 递交时间
- 2015-03-18 17:38:51
- 评测时间
- 2015-03-18 17:38:52
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes