/ Vijos /

记录详情

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 2ms 408.0 KiB
#2 Accepted 2ms 408.0 KiB
#3 Accepted 2ms 408.0 KiB
#4 Accepted 10ms 748.0 KiB
#5 Accepted 22ms 1.078 MiB
#6 Accepted 55ms 2.141 MiB
#7 Accepted 102ms 3.473 MiB
#8 Accepted 155ms 6.617 MiB
#9 Accepted 209ms 6.672 MiB
#10 Accepted 231ms 6.676 MiB

信息

递交者
类型
递交
题目
P1771 瑞士轮
语言
C++
递交时间
2021-09-25 14:18:24
评测时间
2021-09-25 14:18:24
评测机
分数
100
总耗时
794ms
峰值内存
6.676 MiB