不完全
なぜかACにならない、なぜだ。いくつか原因はわかっているけど保留。。。 #include <cstdio> #include <algorithm> using namespace std; int n=0,m=0; const int INF = 100000000; int dp[153][12][80] = {0}; int ko[152] = {0}; int d[103][12][2] = {0}; int main(){ scanf(</algorithm></cstdio>…