记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:29:22: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   29 |             int mid=l+r>>1;
      |                     ~^~
foo.cc:21:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   21 |     scanf("%d",&T);
      |     ~~~~~^~~~~~~~~
foo.cc:24:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   24 |         scanf("%d",&n);
      |         ~~~~~^~~~~~~~~
foo.cc:25:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   25 |         for(int i=1;i<=n;i++) scanf("%d%d",&a[i],&b[i]);
      |                               ~~~~~^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 1d0 < 3 2a2 > 1 2ms 384.0 KiB
#2 Wrong Answer Read 29, expect 26. 3ms 384.0 KiB

信息

递交者
类型
自测
题目
P1315 Let's throw a party
语言
C++
递交时间
2022-02-02 23:22:26
评测时间
2022-02-02 23:22:26
评测机
分数
0
总耗时
5ms
峰值内存
384.0 KiB