摘要:
1129 -- Channel Allocation (poj.org) 这道题的实质是图的着色问题,连通的结点不能用一种颜色 #include<iostream> #include<cstring> using namespace std; const int INF=0x3f3f3f3f; bo 阅读全文
posted @ 2024-02-14 23:58
ACCbulb
阅读(22)
评论(0)
推荐(0)
摘要:
2676 -- Sudoku (poj.org) #include<iostream> #include<cstring> using namespace std; int n,map[10][10]; bool row[10][10],col[10][10],grid[10][10]; bool 阅读全文
posted @ 2024-02-14 22:16
ACCbulb
阅读(31)
评论(0)
推荐(0)

浙公网安备 33010602011771号