- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 codeforces #220 div2前三题
A题很简单,先给棋盘的大小,然后给定初始坐标位置,然后给可以变换的a,b。问最小的步数可以到达棋盘的任何一个角落。这个题目很简单,却容易忽略一个问题,就是在走的过程中千万不能走出棋盘规定的大小。代码:#include#include#include#include#includeusing namespace std;const int maxn=100000000;int
2013-12-26 20:37:45 1401
原创 Codeforces Round #217前三题
A. Rook, Bishop and Kingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Petya is learning to play ch
2013-12-19 18:43:09 1430
原创 poj 2918Tudoku(暴力。。)
TudokuTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 1911 Accepted: 1060DescriptionTom is a master in several mathematical-theoretical disciplines. H
2013-12-18 17:21:42 1290
原创 2013长沙现场赛三道铜牌题目
Alice's Print ServiceTime Limit: 2 Seconds Memory Limit: 65536 KBAlice 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 3055
原创 codeforces #216前三题
前两题就直接粘代码了。。题目地址:A. Valera and PlatesAC代码:#include#includeusing 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 2052
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人