
codeForces
文章平均质量分 86
南山小翁
活在当下,要有思想,每个人不是随随便便就能成功!
展开
-
1A
A. Theatre Squaretime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputTheatre Square in the capital city of Berland has a rectangular shape with th原创 2012-12-11 17:16:12 · 523 阅读 · 0 评论 -
B. Spreadsheets
#include#includeusing namespace std;int main(){ string a; string b,c; int i,j; int num1; int num0; int nu; scanf("%d",&nu); int flag=0; for(int ii=0; ii<nu; ii+原创 2012-12-12 18:43:32 · 960 阅读 · 0 评论 -
A. Winner
A. Winnertime limit per test1 secondmemory limit per test64 megabytesinputstandard inputoutputstandard outputThe winner of the card game popular in Berland "Berlogging" is determined according to原创 2012-12-13 17:52:12 · 1345 阅读 · 0 评论 -
A. Shortest path of the king
A. Shortest path of the kingtime limit per test1 secondmemory limit per test64 megabytesinputstandard inputoutputstandard outputThe king is left alone on the chessboard.原创 2012-12-14 11:30:52 · 610 阅读 · 0 评论 -
第十七场
DescriptionEveryone knows that 2010 FIFA World Cup is being held in South Africa now. By the decision of BFA (Berland's Football Association) next World Cup will be held in Berland. BFA took the d原创 2013-01-23 21:00:30 · 374 阅读 · 0 评论 -
周赛
题目描述Babs sells boxes and lots of them. All her boxes are rectangular but come in many different sizes. Babs wants to create a really eye-catching display by stacking, one on top of another, as m原创 2013-01-31 19:02:33 · 384 阅读 · 0 评论 -
周赛
题目描述A friend of yours is working on an AI program to play backgammon, and she has a small problem. Atthe end of the game, each player’s 15 pieces are moved onto a set of 6 board positions ca原创 2013-01-31 19:03:59 · 399 阅读 · 0 评论 -
求分割的数目
DescriptionOnce Bob took a paper stripe of n squares (the height of the stripe is 1 square). In each square he wrote an integer number, possibly negative. He became interested in how many ways exi原创 2013-01-21 21:07:43 · 408 阅读 · 0 评论