世界弹射物语玩家

世界弹射物语玩家 : 2018第一次上机E(上午) 数位dp
5 年,11 月前

#include < bits / stdc ++ . h > using namespace std ; #define LL long long LL f [ 40 ][ 2 ][ 2 ][ 2 ] ; int vis [ 40 ][ 2 ][ 2 ][ 2 ] ; int len , tot ; int a [ 40 ] , b [ 40 ] , k [ 40 ] ; LL dfs ( int x , int af ...查看全文