/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:32:34: warning: format '%lf' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]
         printf("%.2lf\n", balance);
                                  ^
foo.cc:12:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d", &budget[i]);  // 读取输入数据
         ~~~~~^~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0.00, expect 1946. 0ms 256.0 KiB
#2 Accepted 0ms 288.0 KiB
#3 Wrong Answer Read 0.00, expect 1580. 0ms 256.0 KiB
#4 Accepted 0ms 256.0 KiB
#5 Wrong Answer Read 0.00, expect 1477. 0ms 256.0 KiB
#6 Accepted 0ms 284.0 KiB
#7 Wrong Answer Read 0.00, expect 1857. 0ms 292.0 KiB
#8 Accepted 0ms 256.0 KiB
#9 Wrong Answer Read 0.00, expect 1975. 0ms 256.0 KiB
#10 Wrong Answer Read 0.00, expect 1398. 0ms 256.0 KiB

信息

递交者
类型
递交
题目
P1096 津津的储蓄计划
语言
C++
递交时间
2021-11-25 20:21:02
评测时间
2021-11-25 20:21:02
评测机
分数
40
总耗时
7ms
峰值内存
292.0 KiB