/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:4:17: warning: unused variable 'n' [-Wunused-variable]
    4 |         int s,t,n=1,k;
      |                 ^
foo.cc:4:21: warning: unused variable 'k' [-Wunused-variable]
    4 |         int s,t,n=1,k;
      |                     ^
foo.cc:10:18: warning: 's' is used uninitialized [-Wuninitialized]
   10 |                 s+=300;
      |                 ~^~~~~
foo.cc:4:13: note: 's' was declared here
    4 |         int s,t,n=1,k;
      |             ^
foo.cc:16:26: warning: 't' may be used uninitialized [-Wmaybe-uninitialized]
   16 |                         t+=(s-ans[j])/100*100;
      |                         ~^~~~~~~~~~~~~~~~~~~~
foo.cc:4:15: note: 't' was declared here
    4 |         int s,t,n=1,k;
      |               ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1409210402, expect 1946. 4ms 412.0 KiB
#2 Wrong Answer Read 42940258, expect -7. 5ms 412.0 KiB
#3 Wrong Answer Read -1, expect 1580. 3ms 412.0 KiB
#4 Wrong Answer Read -1, expect -3. 3ms 412.0 KiB
#5 Wrong Answer Read -1, expect 1477. 3ms 412.0 KiB
#6 Wrong Answer Read -1, expect -2. 3ms 412.0 KiB
#7 Wrong Answer Read -6, expect 1857. 3ms 284.0 KiB
#8 Wrong Answer Read -1, expect -2. 3ms 412.0 KiB
#9 Wrong Answer Read -1, expect 1975. 3ms 412.0 KiB
#10 Wrong Answer Read -1, expect 1398. 3ms 412.0 KiB

信息

递交者
类型
递交
题目
P1096 津津的储蓄计划
语言
C++
递交时间
2023-12-01 20:41:05
评测时间
2023-12-01 20:41:05
评测机
分数
0
总耗时
39ms
峰值内存
412.0 KiB