/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:58:8: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   mid=l+r>>1;
       ~^~
foo.cc:44:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d", &n, &m);
  ~~~~~^~~~~~~~~~~~~~~~
foo.cc:47:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d%d", &u, &v, w+i);
   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 512.0 KiB
#2 Accepted 2ms 412.0 KiB
#3 Accepted 2ms 512.0 KiB
#4 Accepted 3ms 568.0 KiB
#5 Accepted 2ms 512.0 KiB
#6 Accepted 6ms 904.0 KiB
#7 Accepted 37ms 2.516 MiB
#8 Accepted 54ms 2.609 MiB
#9 Wrong Answer Read 29659, expect 31065. 37ms 2.738 MiB
#10 Wrong Answer Read 30683, expect 29711. 40ms 2.906 MiB

信息

递交者
类型
递交
题目
P1776 关押罪犯
语言
C++
递交时间
2021-08-07 13:41:11
评测时间
2021-08-07 13:41:11
评测机
分数
80
总耗时
188ms
峰值内存
2.906 MiB