anda522 / anda522.github.io

https://wyqz.top
3 stars 0 forks source link

CF1055C Lucky Days|裴蜀定理 | 行码棋 #18

Open anda522 opened 2 years ago

anda522 commented 2 years ago

https://wyqz.top/p/4188452413.html

Lucky Days 给定 $l_a,r_a,t_a,l_b,r_b,t_b$,对于所有的非负整数 $k$,将区间 $[l_a+kt_a,r_a+kt_a]$ 打上标记 $1$,将区间 $[l_b+kt_b,r_b+kt_b]$ 打上标记