aspen138

aspen138 : 【dp】3531. 定西 题解
2 月,2 周前

n , k = map ( int , input () . split ()) s = set () if k != 0 : a = list ( map ( int , input () . split ())) s = set ( a ) dp = [ 0 for i in range ( 200 )] if 1 not in s : dp [ 1 ] = 1 if 2 not in s : ...查看全文