记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:37:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   37 |     scanf("%d%d%d",&n,&m,&q);//输入字符串s的长度,字符串t的长度,询问次数
      |     ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:38:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   38 |     scanf("%s",s+1);
      |     ~~~~~^~~~~~~~~~
foo.cc:39:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   39 |     scanf("%s",t+1);
      |     ~~~~~^~~~~~~~~~
foo.cc:44:14: 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 3ms 384.0 KiB
#2 Accepted 5ms 384.0 KiB
#3 Accepted 2ms 512.0 KiB
#4 Accepted 3ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 3ms 384.0 KiB
#7 Accepted 3ms 384.0 KiB
#8 Accepted 5ms 512.0 KiB
#9 Accepted 3ms 384.0 KiB
#10 Accepted 9ms 384.0 KiB
#11 Accepted 165ms 760.0 KiB
#12 Accepted 1508ms 1016.0 KiB
#13 Accepted 1420ms 888.0 KiB
#14 Accepted 74ms 504.0 KiB
#15 Accepted 68ms 504.0 KiB
#16 Accepted 1231ms 1016.0 KiB
#17 Accepted 176ms 760.0 KiB
#18 Accepted 329ms 760.0 KiB
#19 Accepted 186ms 760.0 KiB
#20 Accepted 198ms 760.0 KiB

信息

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