/ 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 2ms 384.0 KiB
#4 Accepted 6ms 640.0 KiB
#5 Accepted 14ms 768.0 KiB
#6 Accepted 41ms 1.543 MiB
#7 Accepted 77ms 2.625 MiB
#8 Accepted 101ms 4.992 MiB
#9 Accepted 137ms 4.992 MiB
#10 Accepted 153ms 4.867 MiB

信息

递交者
类型
递交
题目
P1771 瑞士轮
语言
C++
递交时间
2021-12-18 15:23:21
评测时间
2021-12-18 15:23:21
评测机
分数
100
总耗时
538ms
峰值内存
4.992 MiB