摘要:
HDU1372:Knight Moves(BFS)Time Limit:3000MSMemory Limit:0KB64bit IO Format:%lld & %lluDescriptionA friend of you is doing research ... 阅读全文
摘要:
DFSTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescription在N*N的方格棋盘放置了N个皇后,使得它们不相互攻击(即任意2个皇后不允许处在同一排,同一列,也不允许处在与棋盘边框成45角的斜线上。你的任... 阅读全文
摘要:
HDU 1312:Red and BlackTime Limit:1000MSMemory Limit:30000KB64bit IO Format:%I64d & %I64uDescriptionThere is a rectangular room, covered with sq... 阅读全文
摘要:
UVA 572 DFS(floodfill) 用DFS求连通块Time Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uDescriptionDue to recent rains, water has pooled in ... 阅读全文