/ 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 6ms 512.0 KiB
#2 Accepted 4ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Wrong Answer Read 817394852, expect 560. 4ms 384.0 KiB
#6 Accepted 2ms 384.0 KiB
#7 Accepted 5ms 384.0 KiB
#8 Wrong Answer Read 1502137479, expect 2575. 3ms 384.0 KiB
#9 Wrong Answer Read 1183818766, expect 508222. 7ms 384.0 KiB
#10 Wrong Answer Read 2007529026, expect 5063. 4ms 384.0 KiB

信息

递交者
类型
递交
题目
P1811 接水问题
语言
C++
递交时间
2022-04-22 23:53:21
评测时间
2022-04-22 23:53:21
评测机
分数
60
总耗时
43ms
峰值内存
512.0 KiB