ACM题目
文章平均质量分 79
小时的枫
计算机本科生
展开
-
ACM刷题之hdu————Kingdom of Black and White
Kingdom of Black and WhiteTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 4395 Accepted Submission(s): 1315Problem DescriptionIn the King...原创 2018-04-25 19:31:01 · 400 阅读 · 0 评论 -
ACM刷题之ZOJ————Lunch Time
Lunch TimeTime Limit: 2 Seconds Memory Limit: 65536 KBThe 999th Zhejiang Provincial Collegiate Programming Contest will be held in Marjar University. The canteen of Marjar University is m原创 2017-04-16 19:45:26 · 872 阅读 · 0 评论 -
ACM刷题之ZOJ————Demacia of the Ancients
Demacia of the AncientsTime Limit: 2 Seconds Memory Limit: 65536 KBThere is a popular multiplayer online battle arena game called Demacia of the Ancients. There are lots of professional t原创 2017-04-16 19:43:49 · 323 阅读 · 0 评论 -
ACM刷题之ZOJ————Ace of Aces
Ace of AcesTime Limit: 2 Seconds Memory Limit: 65536 KBThere is a mysterious organization called Time-Space Administrative Bureau (TSAB) in the deep universe that we humans have not disco原创 2017-04-16 19:42:18 · 500 阅读 · 0 评论 -
ACM刷题之POJ————A Simple Problem with Integers
A Simple Problem with IntegersTime Limit: 5000MS Memory Limit: 131072KTotal Submissions: 106659 Accepted: 33284Case Time Limit: 2000MSDescriptionYou have N原创 2017-04-06 16:41:43 · 396 阅读 · 0 评论 -
ACM刷题之HDU————I Hate It
I Hate ItTime Limit: 9000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 72442 Accepted Submission(s): 27966Problem Description很多学校流行一种比较的习惯。原创 2017-04-06 16:37:25 · 1020 阅读 · 0 评论 -
ACM刷题之HDU————敌兵布阵
敌兵布阵Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 86150 Accepted Submission(s): 36309Problem DescriptionC国的死对头A国这段时间正在进行军事演原创 2017-04-06 16:34:18 · 652 阅读 · 0 评论 -
ACM刷题之HDU————Constructing Roads
Constructing RoadsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 22339 Accepted Submission(s): 8591Problem DescriptionThere原创 2017-04-06 16:30:57 · 360 阅读 · 0 评论 -
ACM刷题之hdu————小希的迷宫
小希的迷宫Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 47938 Accepted Submission(s): 14928Problem Description上次Gardon的迷宫城堡小希玩了很原创 2017-03-16 20:53:25 · 1198 阅读 · 0 评论 -
ACM刷题之ZOJ————How Many Nines
How Many NinesTime Limit: 1 Second Memory Limit: 65536 KBIf we represent a date in the format YYYY-MM-DD (for example, 2017-04-09), do you know how many 9s will appear in all the dates be原创 2017-04-10 10:47:59 · 395 阅读 · 0 评论 -
ACM刷题之ZOJ————Knuth-Morris-Pratt Algorithm
Knuth-Morris-Pratt AlgorithmTime Limit: 1 Second Memory Limit: 65536 KBIn computer science, the Knuth-Morris-Pratt string searching algorithm (or KMP algorithm) searches for occurrences o原创 2017-04-10 10:40:28 · 719 阅读 · 0 评论 -
ACM刷题之HDU————Bone Collector
Bone CollectorTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 57085 Accepted Submission(s): 23820Problem DescriptionMany year原创 2017-02-22 19:44:10 · 751 阅读 · 0 评论 -
ACM刷题之Codeforces ————The Meeting Place Cannot Be Changed
The Meeting Place Cannot Be Changedtime limit per test5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe main road in Byteci原创 2017-03-06 18:31:14 · 508 阅读 · 0 评论 -
ACM刷题之ZOJ————What day is that day?
What day is that day?Time Limit: 2 Seconds Memory Limit: 65536 KBIt's Saturday today, what day is it after 11 + 22 + 33 + ... + NN days?InputThere are multiple test cases. The first l原创 2017-03-05 20:51:10 · 1103 阅读 · 0 评论 -
ACM刷题之Hdu ————How Many Tables
How Many TablesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 28042 Accepted Submission(s): 13900Problem DescriptionToday is原创 2017-03-14 15:38:23 · 386 阅读 · 0 评论 -
ACM刷题之Poj————Wireless Network
Wireless NetworkTime Limit: 10000MS Memory Limit: 65536KTotal Submissions: 25998 Accepted: 10825DescriptionAn earthquake takes place in Southeast Asia. The ACM (A原创 2017-03-14 15:43:28 · 993 阅读 · 0 评论 -
ACM刷题之POJ————Jungle Roads
Jungle RoadsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 25415 Accepted: 11949DescriptionThe Head Elder of the tropical island of Lagrishan has a原创 2017-03-17 14:53:29 · 740 阅读 · 0 评论 -
ACM刷题之POJ———— Catch That Cow
Catch That CowTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 84879 Accepted: 26650DescriptionFarmer John has been informed of the location of a fugitiv原创 2017-03-03 11:19:07 · 691 阅读 · 0 评论 -
ACM刷题之ZOJ————May Day Holiday
May Day HolidayTime Limit: 2 Seconds Memory Limit: 65536 KBAs a university advocating self-learning and work-rest balance, Marjar University has so many days of rest, including holidays a原创 2017-04-16 19:47:22 · 520 阅读 · 0 评论 -
ACM刷题之ZOJ————Convert QWERTY to Dvorak
Convert QWERTY to DvorakTime Limit: 2 Seconds Memory Limit: 65536 KBEdward, a poor copy typist, is a user of the Dvorak Layout. But now he has only a QWERTY Keyboard with a broken Caps原创 2017-04-16 19:49:11 · 533 阅读 · 0 评论 -
ACM刷题之ZOJ————Break Standard Weight
Break Standard WeightTime Limit: 2 Seconds Memory Limit: 65536 KBThe balance was the first mass measuring instrument invented. In its traditional form, it consists of a pivoted horizontal原创 2017-04-16 19:54:04 · 264 阅读 · 0 评论 -
ACM刷题之hdu————Covering
CoveringTime Limit: 5000/2500 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1446 Accepted Submission(s): 589Problem DescriptionBob's school has a big playground,...原创 2018-04-24 19:59:14 · 369 阅读 · 0 评论 -
ACM刷题之codeforce————Table Tennis
Table Tennistime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputn people are standing in a line to play table tennis. At first, the first two players ...原创 2018-02-21 13:43:56 · 436 阅读 · 0 评论 -
ACM刷题之codeforce————Nikita and string
Nikita and stringtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne day Nikita found the string containing letters "a" and "b" only.Nikita thinks...原创 2018-02-18 23:31:53 · 340 阅读 · 0 评论 -
ACM刷题之codeforce————Divisiblity of Differences
Divisiblity of Differencestime limit per test1 secondmemory limit per test512 megabytesinputstandard inputoutputstandard outputYou are given a multiset of n integers. You should select exactly k of th...原创 2018-02-18 18:58:48 · 318 阅读 · 0 评论 -
ACM刷题之codeforce————Race Against Time
Race Against Timetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputHave you ever tried to explain to the coo原创 2017-10-05 20:13:52 · 554 阅读 · 0 评论 -
ACM刷题之codeforce————Arpa and a research in Mexican wave
A. Arpa and a research in Mexican wavetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputArpa is researching t原创 2017-09-05 22:19:17 · 415 阅读 · 0 评论 -
2015ACM/ICPC亚洲区长春站————House Building
Almost Sorted ArrayTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 4461 Accepted Submission(s): 1104Problem DescriptionWe a原创 2017-05-21 15:32:25 · 738 阅读 · 0 评论 -
ACM刷题之EOJ————黑心啤酒厂
黑心啤酒厂Time limit per test: 1.0 secondsTime limit all tests: 1.0 secondsMemory limit: 256 megabytesAccept / Submit: 1001 / 3217黑心啤酒厂为了让大家买啤酒,会把一瓶酒设计成恰好能倒七杯。由于聚会时经常会有大家一起干杯这样的事情,干杯之前又要给每个人都原创 2017-05-12 20:22:12 · 750 阅读 · 0 评论 -
ACM刷题之ZOJ————Let's Chat
Let's ChatTime Limit: 1 Second Memory Limit: 65536 KBACM (ACMers' Chatting Messenger) is a famous instant messaging software developed by Marjar Technology Company. To attract more users,原创 2017-05-11 17:53:12 · 634 阅读 · 0 评论 -
ACM刷题之ZOJ————Marjar Cola
Marjar ColaTime Limit: 1 Second Memory Limit: 65536 KBMarjar Cola is on sale now! In order to attract more customers, Edward, the boss of Marjar Company, decides to launch a promotion: If原创 2017-04-10 10:44:10 · 1303 阅读 · 2 评论 -
ACM刷题之codeforces————Simple Robot
Simple Robottime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputSaMer is building a simple robot that can move原创 2017-04-16 20:10:32 · 863 阅读 · 1 评论 -
ACM刷题之codeforces————Cinema
Cinematime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputRami and K of his friends are going to watch a movie原创 2017-04-16 20:09:09 · 951 阅读 · 0 评论 -
ACM刷题之codeforces————Ya Rajaie and Books
Ya Rajaie and Bookstime limit per test0.5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputMr. Ya Rajaie has N books and wants t原创 2017-04-16 20:07:15 · 587 阅读 · 0 评论 -
ACM刷题之codeforces————The Little Match Girl
The Little Match Girltime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputUsing at most 7 matchsticks, you can d原创 2017-04-16 20:05:40 · 772 阅读 · 0 评论 -
ACM刷题之ZOJ————Java Beans
Java BeansTime Limit: 2 Seconds Memory Limit: 65536 KBThere are N little kids sitting in a circle, each of them are carrying some java beans in their hand. Their teacher want to select M原创 2017-04-16 19:57:56 · 785 阅读 · 0 评论 -
ACM刷题之ZOJ————Hard to Play
Hard to PlayTime Limit: 2 Seconds Memory Limit: 65536 KBMightyHorse is playing a music game called osu!.After playing for several months, MightyHorse discovered the way of calculati原创 2017-04-16 19:56:53 · 692 阅读 · 0 评论 -
ACM刷题之ZOJ————Density of Power Network
Density of Power NetworkTime Limit: 2 Seconds Memory Limit: 65536 KBThe vast power system is the most complicated man-made system and the greatest engineering innovation in the 20th centu原创 2017-04-16 19:55:27 · 419 阅读 · 0 评论 -
ACM刷题之POJ————Dungeon Master
Dungeon Master dy一道简单的3D的BFS题目注意题目中的S和E的位置是不确定的用三维数组记录地图,同时Vis跟上就好下面是ac代码#include#include#include#include#include#include#include#include#include#include原创 2017-03-02 10:57:27 · 714 阅读 · 0 评论 -
ACM刷题之HDU————饭卡
饭卡Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 26335 Accepted Submission(s): 9203Problem Description电子科大本部食堂的饭卡有一种很诡异的设计,即原创 2017-02-22 17:59:06 · 1987 阅读 · 0 评论