自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

打得一手好铁

olliego.com

  • 博客(30)
  • 收藏
  • 关注

原创 PAT (Basic Level) Practise 1002. 写出这个数

1002. 写出这个数 (20)时间限制 400 ms内存限制 65536 kB代码长度限制 8000 B判题程序 Standard 作者 CHEN, Yue读入一个自然数n,计算其各位数字之和,用汉语拼音写出和的每一位数字。输入格式:每个测试输入包含1个测试用例,即给出自然数n的值。这里保

2016-02-25 23:43:18 246

原创 PAT (Basic Level) Practise 1001. 害死人不偿命的(3n+1)猜想

1001. 害死人不偿命的(3n+1)猜想 (15)时间限制 400 ms内存限制 65536 kB代码长度限制 8000 B判题程序 Standard 作者 CHEN, Yue卡拉兹(Callatz)猜想:对任何一个自然数n,如果它是偶数,那么把它砍掉一半;如果它是奇数,那么把(3n+1)

2016-02-25 23:11:54 234

原创 CodeForces 31B Sysadmin Bob

B. Sysadmin Bobtime limit per test0.5 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputEmail address in Berland is a string of the form A@B

2016-02-24 18:52:13 976

原创 vector<string>字符串容器介绍

#include#includeusing namespace std;int main(){    vectorvec;//定义个一个字符串容器    vectorhi;    string str;    str="abc";    vec.push_back(str);//把字符串str压进容器    vec.push_back("def");//把字

2016-02-24 16:34:45 38588 2

原创 CodeForces 132A Turing Tape

#include#include#include#include#includeusing namespace std;char c[1200];int i,j,k,l,n,m,x,y,lans;int main(){ gets(c+1); n=strlen(c+1); lans=0; for(i=1;i<=n;i++){ x=c[i]; y=0; for(

2016-02-24 00:26:24 397

原创 CodeForces 44B Cola

B. Colatime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputTo celebrate the opening of the Winter Computer School the or

2016-02-23 22:56:11 295

原创 CodeForces 38B Chess

B. Chesstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputTwo chess pieces, a rook and a knight, stand on a standard c

2016-02-23 20:58:54 459

原创 CodeForces 56B Spoilt Permutation

B. Spoilt Permutationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya collects coins: he has exactly one coin f

2016-02-23 18:48:21 472

原创 CodeForces 47B Coins

B. Coinstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne day Vasya came across three Berland coins. They didn't h

2016-02-23 12:18:10 1018

原创 CodeForces 46B T-shirts from Sponsor

B. T-shirts from Sponsortime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne day a well-known sponsor of a well-known

2016-02-23 00:29:16 680

原创 CodeForces 50B Choosing Symbol Pairs

B. Choosing Symbol Pairstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere is a given string S consisting ofN s

2016-02-22 22:26:46 1369

原创 HDU 5630 Rikka with Chess

Rikka with ChessTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 41    Accepted Submission(s): 37Problem DescriptionYuta gives Rikk

2016-02-20 22:02:53 351

原创 CodeForces 628A Tennis Tournament

A. Tennis Tournamenttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA tennis tournament with n participants is runnin

2016-02-20 18:49:11 330

原创 CodeForces 43B Letter

B. Lettertime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya decided to write an anonymous letter cutting the lett

2016-02-19 13:33:42 1587

原创 CodeForces 39B Company Income Growth

B. Company Income Growthtime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputPetya works as a PR manager for a successful

2016-02-17 23:36:42 1144

原创 HDU 5626 Clarke and points

Clarke and pointsTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 127    Accepted Submission(s): 98Problem DescriptionClarke is a p

2016-02-14 13:47:26 524 2

原创 HDU 5625 Clarke and chemistry

Clarke and chemistryTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 58    Accepted Submission(s): 30Problem DescriptionClarke is a

2016-02-13 22:18:08 391

原创 CodeForces 34B Sale

B. Saletime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOnce Bob got to a sale of old TV sets. There were n TV sets a

2016-02-13 13:32:38 323

原创 CodeForces 32B Borze

B. Borzetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputTernary numeric notation is quite popular in Berland. To tel

2016-02-13 12:52:17 1330

原创 CodeForces 1B Spreadsheets

B. Spreadsheetstime limit per test10 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputIn the popular spreadsheets systems (for example, in

2016-02-12 23:31:47 214

转载 安娜·埃贝尔《夜》

《夜》【加拿大】安娜·埃贝尔(1916-2000)夜夜的静默流遍我的全身如海底汹涌的潜流我卧于这暗绿色的水底听见我的心发送它的光和幽暗的信号如同一座灯塔。一种无声的节奏一个秘密的数码我译解不出任何迷。在光的每一次闪烁中我闭合双目为了保持黑暗的延续静的无穷无尽将我吞噬。

2016-02-12 15:14:21 847

原创 CodeForces 219A k-String

A. k-Stringtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA string is called a k-string if it can be represented as

2016-02-11 19:08:29 596

原创 CodeForces 294A Shaass and Oskols

A. Shaass and Oskolstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputShaass has decided to hunt some birds. There are

2016-02-10 23:56:14 461

原创 CodeForces 158B Taxi

B. Taxitime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAfter the lessons n groups of schoolchildren went outside and

2016-02-10 23:31:52 626

原创 CodeForces 158A Next Round

A. Next Roundtime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output"Contestant who earns a score equal to or greater than

2016-02-10 23:14:15 484

原创 CodeForces 349A Cinema Line

A. Cinema Linetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe new "Die Hard" movie has just been released! There

2016-02-10 22:58:13 673

原创 CodeForces 266A Stones on the Table

A. Stones on the Tabletime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n stones on the table in a row, each

2016-02-10 22:43:39 200

原创 CodeForces 119A Epic Game

A. Epic Gametime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputSimon and Antisimon play a game. Initially each player r

2016-02-10 19:50:03 655

原创 CodeForces 228A Is your horseshoe on the other hoof?

A. Is your horseshoe on the other hoof?time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputValera the Horse is going to

2016-02-10 19:35:53 385

原创 CodeForces 116A Tram

A. Tramtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLinear Kingdom has exactly one tram line. It has n stops, num

2016-02-07 12:36:52 253

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除