![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
搜索
DeathWH
这个作者很懒,什么都没留下…
展开
-
UVALive 6124 Hexagon Perplexagon
直接进行搜索即可,注意细节。 有更简便的写法但怕出错所以写得很长。#include#include#include#include#includeusing namespace std;struct node{ int a[6];}he[7];bool flag;int ans[10];int tun[10];bool vis[10];void dfs原创 2015-08-18 19:55:16 · 500 阅读 · 0 评论 -
[TOJ 1029] Robbery
Inspector Robstop is very angry. Last night, a bank has been robbed and the robber has not been caught. And this happened already for the third time this year, even though he did everything in his pow原创 2015-08-18 19:50:16 · 330 阅读 · 0 评论 -
[TOJ 1965] Gnome Tetravex
Hart is engaged in playing an interesting game, Gnome Tetravex, these days. In the game, at the beginning, the player is given n*n squares. Each square is divided into four triangles marked four numbe原创 2015-08-18 19:52:52 · 264 阅读 · 0 评论