/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:28:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if(n=1) {
        ^
/in/foo.cc:21:8: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
     k++;
        ^
/in/foo.cc:29:6: warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized]
   t=t*1.2;
     ~^~~~
/in/foo.cc:10:4: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized]
   s+=300;
   ~^~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 6ms 412.0 KiB
#2 Wrong Answer 10ms 420.0 KiB
#3 Wrong Answer 11ms 424.0 KiB
#4 Wrong Answer 1ms 356.0 KiB
#5 Wrong Answer 1ms 376.0 KiB
#6 Wrong Answer 1ms 376.0 KiB
#7 Wrong Answer 3ms 428.0 KiB
#8 Wrong Answer 1ms 336.0 KiB
#9 Wrong Answer 4ms 420.0 KiB
#10 Wrong Answer 5ms 416.0 KiB

信息

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