Wrong Answer
foo.c: In function 'main': foo.c:6:23: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'double *' [-Wformat=] 6 | scanf("%lf %lld",&x,&k); | ~~~^ ~~ | | | | | double * | long long int * | %le foo.c:29:19: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=] 29 | printf("%.*lf",k,a); | ~~^~~ ~ | | | | int double
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 题目
- P1499 Problem A. 四舍五入
- 语言
- C
- 递交时间
- 2023-10-09 19:22:13
- 评测时间
- 2023-10-09 19:22:13
- 评测机
- 分数
- 0
- 总耗时
- 1ms
- 峰值内存
- 284.0 KiB