水&&模拟
文章平均质量分 80
_OTTFF
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
CF_1B_Spreadsheets
B. Spreadsheetstime limit per test10 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputIn the popular spreadsheets systems (for ex原创 2016-03-20 23:16:06 · 1045 阅读 · 2 评论 -
CF_5B_CenterAlignment
B. Center Alignmenttime limit per test1 secondmemory limit per test64 megabytesinputstandard inputoutputstandard outputAlmost every text editor has a built-in f原创 2016-03-30 20:14:43 · 627 阅读 · 1 评论 -
CF_5A_ChatServer'sOutgoingTraffic
A. Chat Server's Outgoing Traffictime limit per test1 secondmemory limit per test64 megabytesinputstandard inputoutputstandard outputPolycarp is working on a ne原创 2016-03-30 20:11:19 · 444 阅读 · 0 评论 -
CF_527A_PlayingWithPaper
A. Playing with Papertime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne day Vasya was sitting on a not so原创 2016-02-21 10:35:05 · 626 阅读 · 1 评论 -
UVA_10189_Minesweeper
10189 - MinesweeperTime limit: 3.000 secondsHave you ever played Minesweeper? It's a cute little game which comes within a certain OperatingSystem which name we can't really remember. Well, th原创 2015-09-30 11:19:26 · 362 阅读 · 0 评论 -
UVA_100_The_3n+1_Problem
100 - The 3n + 1 problemTime limit: 3.000 secondsBackgroundProblems in Computer Science are often classified as belonging to a certain class of problems (e.g., NP, Unsolvable, Recursive).原创 2015-09-30 11:14:21 · 331 阅读 · 0 评论 -
CF_527B_ErrorCorrectSystem
B. Error Correct Systemtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputFord Prefect got a job as a web developer for原创 2015-08-06 23:27:24 · 644 阅读 · 0 评论 -
CF_37A_Towers
A. Towerstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Vasya has received a young builder’s kit. The kit co原创 2015-08-06 23:18:40 · 463 阅读 · 0 评论 -
CF_525C_IlyaAndSticks
C. Ilya and Stickstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn the evening, after the contest Ilya was bored,原创 2015-08-06 23:16:58 · 464 阅读 · 0 评论 -
UVA_11636_HelloWorld!
11636 - Hello World!Time limit: 1.000 secondsWhen you rst made the computer to print the sentence \Hello World!", you felt so happy, notknowing how complex and interesting the world of program原创 2015-09-02 21:21:02 · 563 阅读 · 1 评论 -
UVA_10970_BigChocolate
10970 - Big ChocolateTime limit: 3.000 secondsMohammad has recently visited Switzerland. As heloves his friends very much, he decided to buy somechocolate for them, but as this ne chocolate原创 2015-09-02 21:07:20 · 934 阅读 · 0 评论 -
CF_5D_FollowTrafficRules
D. Follow Traffic Rulestime limit per test1 secondmemory limit per test64 megabytesinputstandard inputoutputstandard outputEverybody knows that the capital of B原创 2016-03-30 20:32:34 · 570 阅读 · 0 评论 -
CF_6A_Triangle
A. Triangletime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputJohnny has a younger sister Anne, who is very cl原创 2016-03-30 20:42:00 · 369 阅读 · 0 评论 -
CF_6C_Alice,BobAndChocolate
C. Alice, Bob and Chocolatetime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputAlice and Bob like games. And no原创 2016-03-30 20:51:03 · 820 阅读 · 0 评论 -
CF_4B_BeforeAnExam
B. Before an Examtime limit per test0.5 secondmemory limit per test64 megabytesinputstandard inputoutputstandard outputTomorrow Peter has a Biology exam. He doe原创 2016-03-23 22:40:43 · 504 阅读 · 0 评论 -
CF_4A_Watermelon
A. Watermelontime limit per test1 secondmemory limit per test64 megabytesinputstandard inputoutputstandard outputOne hot summer day Pete and his friend Billy de原创 2016-03-23 22:35:17 · 339 阅读 · 0 评论 -
CF_3C_Tic-tac-toe
C. Tic-tac-toetime limit per test1 secondmemory limit per test64 megabytesinputstandard inputoutputstandard outputCertainly, everyone is familiar with tic-tac-t原创 2016-03-23 22:12:50 · 702 阅读 · 0 评论 -
CF_3B_Lorry
B. Lorrytime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputA group of tourists is going to kayak and catamaran原创 2016-03-23 22:03:26 · 629 阅读 · 0 评论 -
CF_3A_ShortestPathOfTheKing
A. Shortest path of the kingtime limit per test1 secondmemory limit per test64 megabytesinputstandard inputoutputstandard outputThe king is left alone on the ch原创 2016-03-23 21:50:26 · 867 阅读 · 0 评论 -
CF_4C_RegistrationSystem
C. Registration systemtime limit per test5 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputA new e-mail service "Berlandesk" is原创 2016-03-23 22:44:07 · 461 阅读 · 0 评论 -
CF_2A_Winner
A. Winnertime limit per test1 secondmemory limit per test64 megabytesinputstandard inputoutputstandard outputThe winner of the card game popular in Berland "Ber原创 2016-03-20 23:31:07 · 373 阅读 · 0 评论 -
CF_1A_TheatreSquare
A. Theatre Squaretime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputTheatre Square in the capital city of Berl原创 2016-03-20 23:12:20 · 621 阅读 · 0 评论 -
CF_6D_LizardsAndBasements_2
D. Lizards and Basements 2time limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputThis is simplified version of the原创 2016-03-30 21:00:27 · 743 阅读 · 0 评论 -
CF_6B_President'sOffice
B. President's Officetime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputPresident of Berland has a very vast o原创 2016-03-30 20:46:07 · 656 阅读 · 0 评论 -
CSU_1674_KSwapOperation
1674: K swap operationTime Limit: 1 Sec Memory Limit: 128 MB Special JudgeSubmit: 10 Solved: 9[Submit][Status][Web Board]Description最近Mr.Q想要只通过一种操作来对序列进行升序排序,该操作是“交换相邻的两个数”,聪明的Mr.原创 2015-09-04 11:04:10 · 433 阅读 · 0 评论 -
CF_469C_24Game
C. 24 Gametime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle X used to play a card game called "24 Game", but rec原创 2015-08-06 23:02:34 · 438 阅读 · 0 评论 -
POJ_1008_MayaCalendar
直接模拟即可。题目比较长。#include #include #include using namespace std;char hmn[19][10]={"pop", "no", "zip", "zotz", "tzec", "xul", "yoxkin", "mol", "chen", "yax", "zac", "ceh", "mac", "kanki原创 2015-07-20 11:18:54 · 344 阅读 · 0 评论 -
CSU_1469_Handles
1469: HandlesTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 230 Solved: 51[Submit][Status][Web Board]Description There are N·M handles on the ground. Every handle can be in one of原创 2015-07-31 09:01:20 · 332 阅读 · 0 评论 -
POJ_1068_Parencodings
ParencodingsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 22987 Accepted: 13469DescriptionLet S = s1 s2...s2n be a well-formed string of parentheses原创 2015-07-30 10:52:33 · 309 阅读 · 0 评论 -
CSU_1507_超大型LED显示屏
超大型LED显示屏Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 267 Solved: 145[Submit][Status][Web Board]DescriptionInput输入包含不超过100组数据。每组数据第一行为"START hh:mm:ss",表示比赛开始时刻为hh:原创 2015-08-24 17:11:52 · 567 阅读 · 0 评论 -
CF_313B_IlyaAndQueries
B. Ilya and Queriestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIlya the Lion wants to help all his fri原创 2015-08-24 16:09:03 · 394 阅读 · 0 评论 -
CF_560A_CurrencySystemInGeraldion
A. Currency System in Geraldiontime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA magic island Geraldion, where Geral原创 2015-08-09 23:58:11 · 1177 阅读 · 0 评论 -
CF_459B_PashmakAndFlowers
B. Pashmak and Flowerstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPashmak decided to give Parmida a pair of flowe原创 2015-08-09 23:45:00 · 397 阅读 · 0 评论 -
UVA_301_Transportation
Transportation Ruratania is just entering capitalism and is establishing new enterprising activities in many fields including transport. The transportation company TransRuratania is starti原创 2015-08-09 23:22:13 · 1076 阅读 · 0 评论 -
UVA_10954_AddAll
Add AllYup!! The problem name reects your task; just add a set of numbers. But you may feel yourselvescondescended, to write a C/C++ program just to add a set of numbers. Such a problem will sim原创 2015-08-09 23:16:27 · 610 阅读 · 0 评论 -
CF_560B_GeraldIsIntoArt
B. Gerald is into Arttime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputGerald bought two very rare paintings a原创 2015-08-10 00:14:03 · 895 阅读 · 0 评论 -
POJ_1107_WsCipher
题目为简单的模拟。读题比较麻烦其中旋转(rotated)这个表述我认为并不好。这样很难明白当k值大于部分串长度时的处理方式。#include #include using namespace std;char s[100];char ss[100];int s1[100],s2[100],s3[100];void fu(int str[],int f,int k){原创 2015-07-20 15:23:30 · 494 阅读 · 0 评论 -
POJ_2260_ErrorCorrection
Error CorrectionTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 5920 Accepted: 3823DescriptionA boolean matrix has the parity property when each row a原创 2015-07-30 10:47:18 · 380 阅读 · 0 评论 -
CF_405B_DominoEffect
模拟的问题,不用想的太复杂,从左往右把序列刷过去就好了判断最后立着的块在左边有左倒右边有右倒的情况比较麻烦原创 2015-07-31 16:50:19 · 403 阅读 · 0 评论 -
LA_3602_DNAConsensusString
Regionals 2006 >> Asia - Seoul3602 - DNA Consensus StringTime limit: 3.000 secondsDNA (Deoxyribonucleic Acid) is the molecule which contains the genetic instructions. It consists of fo原创 2015-09-02 21:42:00 · 622 阅读 · 0 评论
分享