谁能看懂,很急(翻译软件不好使)
  • 板块灌水区
  • 楼主封禁用户
  • 当前回复23
  • 已保存回复23
  • 发布时间2024/11/2 20:19
  • 上次更新2024/11/2 22:38:33
查看原帖
谁能看懂,很急(翻译软件不好使)
1013979
封禁用户楼主2024/11/2 20:19

In AtCoder City, types of garbage are collected regularly. The -th type of garbage is collected on days when the date modulo equals . N i (i=1,2,…,N) q i ​

r i ​

Answer queries. In the -th query , given that the -th type of garbage is put out on day , answer the next day on which it will be collected. Q j (j=1,2,…,Q) t j ​

d j ​

Here, if the -th type of garbage is put out on a day when that type of garbage is collected, then the garbage will be collected on the same day. i

2024/11/2 20:19
加载中...