
poj
方偲~
大佬养成中...
展开
-
poj 1321 棋盘问题(dfs)
poj1321-棋盘问题 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 70333 Accepted: 33302 Description 在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求...原创 2018-11-22 10:29:43 · 164 阅读 · 0 评论 -
POJ 3984-迷宫问题 (dfs)
poj3984-迷宫问题 迷宫问题 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 36567 Accepted: 20632 Description 定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, ...原创 2018-12-13 19:10:03 · 755 阅读 · 1 评论 -
【POJ1258】Agri-Net(最小生成树prim,简单,请别忘记多组输入谢谢)
Agri-Net Time Limit:1000MS Memory Limit:10000K Total Submissions:71567 Accepted:29652 Description Farmer John has been elected mayor of his town! One of his campaign promise...原创 2019-03-14 19:17:56 · 194 阅读 · 0 评论 -
【POJ - 2387 】最短路(dijkstra,简单,模板题)
Til the Cows Come Home POJ - 2387 #include <iostream> #include <algorithm> #include <vector> #include <cstring> #include <set> #include <map> #include <q...原创 2019-04-03 20:08:50 · 241 阅读 · 0 评论