https://ak-ioi.com/apps/oi-2048/ DFS题单整理:
先打暴力(dfs)得40分左右,再打特殊性质的分,基本就AC了!
T2:
P1700、P9011、P1460、P1036
T3:
P1123、P10386、P1025、P1019、CF55B、CF377A、CF585B
T4:
P2919、P1363、P4536、CF1985H1
#include <bits/stdc++.h>
using namespace std;
int main(){
for (int i = 1; i <= 3; i ++ ){
string l1 = "fruit.exe < fruit" + to_string(i) + ".in > fruit.out";
string l2 = "fc /n fruit.out fruit" + to_string(i) + ".ans /W";
system(l1.c_str());system(l2.c_str());
}
return 0;}
P1785 P1832