「CF507X」Codeforces Round #287 (Div. 2)

2015年5月16日2,8370

A. Amr and Music

排序贪心

B. Amr and Pins

算出距离除以直径

C. Guess Your Way Out!

按位考虑

D. The Maths Lecture

从后往前dp

f(i,j,k)表示后i位,当前模为j,是否有后缀被K整除

E. Breaking Good

广搜,选可用边最多的路径

 

avatar
  Subscribe  
提醒