pat 1053

簡單回溯,其實還能夠再剪枝的,數據過小,沒有超時,也就懶得改了o(╯□╰)onode #include<stdio.h> #include<vector> #include<algorithm> #define SIZE 100 using namespace std; struct tree{ int index; int weight; bool flag; } t[
相關文章
相關標籤/搜索