记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:81:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
              if(win[len1].s==lose[len2].s)
                ^
foo.cc:31:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d%d",&n,&r,&p);
     ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:33:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
      scanf("%d",&q[i].s);
      ~~~~~^~~~~~~~~~~~~~
foo.cc:37:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d",&q[i].w);
         ~~~~~^~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 6ms 632.0 KiB
#5 Accepted 14ms 884.0 KiB
#6 Accepted 37ms 1.57 MiB
#7 Accepted 64ms 2.711 MiB
#8 Accepted 92ms 4.992 MiB
#9 Accepted 131ms 4.992 MiB
#10 Accepted 146ms 5.004 MiB

信息

递交者
类型
递交
题目
P1217 瑞士轮
语言
C++
递交时间
2021-10-31 19:37:05
评测时间
2021-10-31 19:37:05
评测机
分数
100
总耗时
499ms
峰值内存
5.004 MiB