/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:22:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   22 |     scanf("%d%d%d",&n,&r,&q);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:25:31: 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",&s[i]);
      |                          ~~~~~^~~~~~~~~~~~
foo.cc:26:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   26 |     for(int i=1;i<=n;i++)scanf("%d",&w[i]);
      |                          ~~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Accepted 2ms 256.0 KiB
#4 Accepted 17ms 640.0 KiB
#5 Accepted 35ms 888.0 KiB
#6 Accepted 69ms 1.617 MiB
#7 Accepted 96ms 2.594 MiB
#8 Accepted 142ms 4.992 MiB
#9 Accepted 200ms 4.93 MiB
#10 Accepted 217ms 4.992 MiB

信息

递交者
类型
递交
题目
P1771 瑞士轮
语言
C++
递交时间
2022-06-04 11:31:58
评测时间
2022-06-04 11:31:58
评测机
分数
100
总耗时
787ms
峰值内存
4.992 MiB