/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:9:13: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    9 |        scanf("%d",&w[i]);
      |        ~~~~~^~~~~~~~~~~~
foo.cc:25:16: warning: 'maxx' may be used uninitialized in this function [-Wmaybe-uninitialized]
   25 |     cout<<maxx+ans<<endl;
      |                ^~~
foo.cc:25:16: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 384.0 KiB
#2 Accepted 5ms 384.0 KiB
#3 Accepted 4ms 384.0 KiB
#4 Accepted 6ms 384.0 KiB
#5 Wrong Answer Read 206304420, expect 560. 4ms 384.0 KiB
#6 Accepted 5ms 384.0 KiB
#7 Accepted 5ms 384.0 KiB
#8 Accepted 6ms 384.0 KiB
#9 Accepted 8ms 384.0 KiB
#10 Wrong Answer Read 1722684994, expect 5063. 8ms 384.0 KiB

信息

递交者
类型
递交
题目
P1811 接水问题
语言
C++
递交时间
2022-04-22 23:49:30
评测时间
2022-04-22 23:49:30
评测机
分数
80
总耗时
61ms
峰值内存
384.0 KiB