- 博客(163)
- 资源 (1)
- 收藏
- 关注
原创 FZU 1408位图(bfs)
F - 位图 Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u SubmitStatus Description 现在我们给出一个n*m的黑白位图,n为行数,m为列数,且该位图中至少含有一个白色的像素。我们用(i,j)来表示第i行第j列的像素,并且定义两像素点p1=(i1,j1)和p2=(
2016-03-08 09:46:55 545
原创 codeforces 651B beautiful_Painting
B. Beautiful Paintings time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output There are n pictures delivered for the new exhibition. The i-th pain
2016-03-08 00:33:09 726
原创 POJ 1426Find The Multiple
http://poj.org/problem?id=1426 以上是题目链接 题意大概为 我给你一个N,你现在只有由0和1组成的数字,求出第一个可以整除N的数来。 简单深搜,唯一坑点在注意 unsigned long long 的最大存储限度。所以我们需要加一个 整数去限制它,防止爆掉。 以下是源代码 #include #include #includ
2016-03-07 22:31:33 300
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人