/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:36:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(w-h>=0)
   ^~
foo.cc:38:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
    w=w-h-(w-h-((w-h)%100))+300;
    ^
foo.cc:52:17: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
            if (w-m>=0)
                ~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 2ms 404.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 1ms 384.0 KiB
#5 Accepted 1ms 400.0 KiB
#6 Accepted 1ms 384.0 KiB
#7 Accepted 2ms 408.0 KiB
#8 Accepted 2ms 384.0 KiB
#9 Accepted 2ms 412.0 KiB
#10 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1096 津津的储蓄计划
语言
C++
递交时间
2021-09-09 14:33:50
评测时间
2021-09-09 14:33:50
评测机
分数
100
总耗时
19ms
峰值内存
412.0 KiB