记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:45:7: warning: unused variable 'length' [-Wunused-variable]
   45 |   int length=r-l+1;
      |       ^~~~~~
foo.cc:36:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   36 |  scanf("%d %d %d",&n1,&n2,&q);
      |  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
foo.cc:37:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   37 |  scanf("%s",a+1);
      |  ~~~~~^~~~~~~~~~
foo.cc:38:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   38 |  scanf("%s",b+1);
      |  ~~~~~^~~~~~~~~~
foo.cc:44:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   44 |   scanf("%d %d",&l,&r);
      |   ~~~~~^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 3ms 384.0 KiB
#7 Accepted 3ms 384.0 KiB
#8 Accepted 6ms 384.0 KiB
#9 Accepted 6ms 384.0 KiB
#10 Accepted 20ms 384.0 KiB
#11 Accepted 282ms 760.0 KiB
#12 Accepted 1551ms 1016.0 KiB
#13 Accepted 1739ms 1016.0 KiB
#14 Accepted 171ms 504.0 KiB
#15 Accepted 163ms 508.0 KiB
#16 Accepted 1438ms 956.0 KiB
#17 Accepted 354ms 800.0 KiB
#18 Accepted 431ms 760.0 KiB
#19 Accepted 328ms 760.0 KiB
#20 Accepted 343ms 772.0 KiB

信息

递交者
类型
递交
题目
P1388 Problem G. 出现次数
比赛
2022年暑期算法队集训赛
语言
C++
递交时间
2022-07-08 18:47:55
评测时间
2022-07-08 18:47:55
评测机
分数
100
总耗时
6857ms
峰值内存
1016.0 KiB