/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:81:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   81 |              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]
   31 |     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]
   33 |      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]
   37 |         scanf("%d",&q[i].w);
      |         ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 3ms 408.0 KiB
#4 Accepted 9ms 640.0 KiB
#5 Accepted 15ms 1020.0 KiB
#6 Accepted 36ms 2.117 MiB
#7 Accepted 79ms 3.367 MiB
#8 Accepted 105ms 6.617 MiB
#9 Accepted 192ms 6.617 MiB
#10 Accepted 159ms 6.617 MiB

信息

递交者
类型
递交
题目
P1771 瑞士轮
语言
C++
递交时间
2022-07-18 16:14:55
评测时间
2022-07-18 16:14:55
评测机
分数
100
总耗时
605ms
峰值内存
6.617 MiB