随笔分类 -  floodfill

摘要:time limit per test4 seconds memory limit per test512 megabytes inputstandard input outputstandard output The farmer Polycarp has a warehouse ... 阅读全文
posted @ 2017-10-06 19:22 AWCXV 阅读(173) 评论(0) 推荐(0) 编辑
摘要:Time Limit: 1 second Memory Limit: 64 MB【问题描述】农夫 John 正在研究他的农场的卫星照片.照片为一个R (1#include #include #include using namespace std;const int MAXN = 1... 阅读全文
posted @ 2017-10-04 18:45 AWCXV 阅读(552) 评论(0) 推荐(0) 编辑
摘要:【题目链接】:http://hihocoder.com/problemset/problem/1495【题意】 【题解】 把每个方块都再分成3*3的小块; 这样; 对于一个方块来说 如果是’\’ 则把 (3*x,3*y)和(3*x+1,3*y+1)以及(3*x+2,3*y+2)都占... 阅读全文
posted @ 2017-10-04 18:45 AWCXV 阅读(176) 评论(0) 推荐(0) 编辑
摘要:Time Limit: 1 second Memory Limit: 128 MB【问题描述】假设你在一个n*n的冰面上,并且你想到达这个冰面的某处,可是由于冰面太滑了,所以当你向某个方向出发后,你没有办法使自己 停下来直到你碰到了某个障碍物——因为你可以抓住障碍物使得你的身体停止运... 阅读全文
posted @ 2017-10-04 18:45 AWCXV 阅读(315) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示