AOJ 0118 Property Distribution

題目鏈接: https://vjudge.net/problem/Aizu-0118#author=0 這題沒什麼難的,就是有一個技巧: 在處理連通分量的外層循環的時候: 遍歷把他變成一個個位置(0---H*W-1),像八皇后一樣。   代碼: //AOJ0118 #include<stdio.h> #include<iostream> #include<string.h> using names
相關文章
相關標籤/搜索