- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 codeforces #220 div2前三题
A题很简单,先给棋盘的大小,然后给定初始坐标位置,然后给可以变换的a,b。问最小的步数可以到达棋盘的任何一个角落。这个题目很简单,却容易忽略一个问题,就是在走的过程中千万不能走出棋盘规定的大小。 代码: #include #include #include #include #include using namespace std; const int maxn=100000000; int
2013-12-26 20:37:45 1408
原创 Codeforces Round #217前三题
A. Rook, Bishop and King time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Little Petya is learning to play ch
2013-12-19 18:43:09 1455
原创 poj 2918Tudoku(暴力。。)
Tudoku Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 1911 Accepted: 1060 Description Tom is a master in several mathematical-theoretical disciplines. H
2013-12-18 17:21:42 1295
原创 2013长沙现场赛三道铜牌题目
Alice's Print Service Time Limit: 2 Seconds Memory Limit: 65536 KB Alice is providing print service, while the pricing doesn't seem to be reasonable, so people using her print service f
2013-12-07 12:00:10 3061
原创 codeforces #216前三题
前两题就直接粘代码了。。 题目地址:A. Valera and Plates AC代码: #include #include using namespace std; int main() { int n,m,k,i; int t; while(cin>>n>>m>>k) { int ans=0; for(i=1;i<
2013-12-06 00:22:48 2056
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人