- 博客(152)
- 收藏
- 关注
原创 Mex
MexProblem DescriptionMex is a function on a set of integers, which is universally used for impartial game theorem. For a non-negative integer set S, mex(S) is defined as the least non-negativ
2013-09-26 21:38:53
2695
原创 Codeforce 240C Practice
C. Practicetime limit per test1 secondmemory limit per test256 megabytesinputinput.txtoutputoutput.txtLittle time is left before Berland annual football champio
2013-09-25 17:37:13
1033
原创 (HYSBZ)BZOJ 1588 营业额统计
营业额统计Time Limit: 5000MS Memory Limit: 165888KB 64bit IO Format: %lld & %llu Description营业额统计 Tiger最近被公司升任为营业部经理,他上任后接受公司交给的第一项任务便是统计并分析公司成立以来的营业情况。 Tiger拿出了公司的账本,
2013-09-24 21:02:33
1282
原创 2013 ACM/ICPC 南京网络赛 1002 - Parade Show
Parade ShowTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others)Problem Description 2013 is the 60 anniversary of Nanjing University of Science and Techn
2013-09-22 10:25:23
1483
原创 Codeforce #145A Cinema
A. Cinematime limit per test1 secondmemory limit per test256 megabytesinputinput.txtoutputoutput.txtOverall there are m actors in Berland. Each actor has a pers
2013-09-12 20:42:07
951
原创 codeforces #145 B Fence
B. Fencetime limit per test2 secondsmemory limit per test256 megabytesinputinput.txtoutputoutput.txtVasya should paint a fence in front of his own cottage. The
2013-09-12 20:24:21
1105
原创 Fuzhou OJ Problem 1894 志愿者选拔
Fuzhou OJ Problem 1894 志愿者选拔Time Limit: 1500 mSec Memory Limit : 32768 KB Problem Description世博会马上就要开幕了,福州大学组织了一次志愿者选拔活动。参加志愿者选拔的同学们排队接受面试官们的面试。参加面试的同学们按照先来先面试并且先结束的原则接受面试官们的考查。
2013-09-11 16:30:53
840
原创 Codeforce 214A Old Peykan
A. Old Peykantime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n cities in the country where the O
2013-09-11 10:11:27
884
原创 poj 3264 Frequent values
Frequent valuesTime Limit: 2000MS Memory Limit: 65536K DescriptionYou are given a sequence of n integers a1 , a2 , ... , an in non-decreasing order. In addition
2013-09-10 10:38:10
899
原创 Cash Machine
Cash MachineTime Limit: 1000MS Memory Limit: 10000K DescriptionA Bank plans to install a machine for cash withdrawal. The machine is able to deliver appropriate
2013-09-08 20:56:50
1031
原创 A Simple Problem with Integers
A Simple Problem with IntegersTime Limit: 5000MS Memory Limit: 131072K Case Time Limit: 2000MSDescriptionYou have N integers, A1, A2, ... , AN. You need t
2013-09-07 20:51:24
562
原创 Just a Hook
Just a HookProblem DescriptionIn the game of DotA, Pudge’s meat hook is actually the most horrible thing for most of the heroes. The hook is made up of several consecutive metallic sticks wh
2013-09-07 20:08:36
729
原创 Lost Cows
Lost CowsTime Limit: 1000MS Memory Limit: 65536K DescriptionN (2 <= N <= 8,000) cows have unique brands in the range 1..N. In a spectacular display of poor judg
2013-09-07 11:15:27
692
原创 Balanced Lineup
Balanced LineupTime Limit: 5000MS Memory Limit: 65536K Case Time Limit: 2000MSDescriptionFor the daily milking, Farmer John's N cows (1 ≤ N ≤ 50,000) alwa
2013-09-07 09:34:34
707
原创 Codeforce 57C Array
C. Arraytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputChris the Rabbit has been interested in arrays eve
2013-09-06 19:31:14
1400
1
原创 Problem 56E Codeforce E—Domino Principle
E. Domino Principletime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya is interested in arranging domino
2013-09-06 09:26:35
1292
原创 Billboard
BillboardProblem DescriptionAt the entrance to the university, there is a huge rectangular billboard of size h*w (h is its height and w is its width). The board is the place where all po
2013-09-04 17:26:19
611
原创 Minimum Inversion Number
Minimum Inversion NumberProblem DescriptionThe inversion number of a given number sequence a1, a2, ..., an is the number of pairs (ai, aj) that satisfy i aj.For a given sequence of nu
2013-09-03 12:30:05
581
原创 I Hate It
I Hate ItProblem Description很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。这让很多学生很反感。不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老师的询问。当然,老师有时候需要更新某位同学的成绩。 Input本题目包含多组测试,请处理到文件结束。在
2013-09-02 15:22:27
499
原创 Sumdiv
SumdivDescriptionConsider two natural numbers A and B. Let S be the sum of all natural divisors of A^B. Determine S modulo 9901 (the rest of the division of S by 9901).InputThe only li
2013-09-01 20:22:14
714
转载 Remoteland
RemotelandProblem DescriptionIn the Republic of Remoteland, the people celebrate their independence day every year. However, as it was a long long time ago, nobody can remember when it was
2013-09-01 18:12:10
902
2
原创 Distributing Ballot Boxes
Distributing Ballot BoxesTime Limit:10000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 4190DescriptionToday, besides SWERC'11, another
2013-09-01 17:54:37
985
转载 三角形数
三角形数[编辑]维基百科,自由的百科全书本条目需要扩充。(2013年2月14日) 请协助改善这篇条目,更进一步的信息可能会在讨论页或扩充请求中找到。请在扩充条目后将此模板移除。一定数目的点或圆在等距离的排列下可以形成一个等边三角形,这样的数被称为三角形数。比如10个点可以组成一个等边三角形,因此10是一个三角形数:
2013-08-31 11:27:05
2989
原创 Curling 2.0
Curling 2.0Time Limit: 1000MS Memory Limit: 65536KTotal Submissions: 8868 Accepted: 3740DescriptionOn Planet MM-21, after their Olympic games this year, curling i
2013-08-31 11:20:25
650
原创 Paths on a Grid
Paths on a GridTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 19808 Accepted: 4800DescriptionImagine you are attending your math lesson at school. Once
2013-08-31 08:38:46
716
原创 Sudoku
SudokuTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 12157 Accepted: 6070 Special JudgeDescriptionSudoku is a very simple task. A square table with
2013-08-30 18:04:55
826
原创 A Knight's Journey
A Knight's JourneyTime Limit : 2000/1000ms (Java/Other) Memory Limit : 131072/65536K (Java/Other)Total Submission(s) : 43 Accepted Submission(s) : 15Problem DescriptionBackground
2013-08-29 21:05:36
567
原创 棋盘问题
棋盘问题Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 19220 Accepted: 9585Description在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解
2013-08-29 20:50:38
588
原创 Etaoin Shrdlu
Etaoin ShrdluTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 1202 Accepted: 636DescriptionThe relative frequency of characters in natural language texts
2013-08-28 18:22:22
916
原创 Bottle Taps
1326. Bottle TapsTime limit: 3.0 secondMemory limit: 64 MBProgrammer Petrov has a hobby to collect beer-bottle taps. There’s nothing unusual — he knows hundreds of programmers that like
2013-08-28 11:30:26
1409
原创 Crack
1410. CrackTime limit: 0.5 secondMemory limit: 64 MBToday Arthur has got not the best day of his life. Today is Thursday and in the morning he had to lie under a bulldozer, which was pul
2013-08-26 21:51:54
916
原创 Malevich Strikes Back!
1221. Malevich Strikes Back!Time limit: 1.0 secondMemory limit: 64 MBAfter the greatest success of Malevich's "Black Square" the famous artist decided to create a new masterpiece. He too
2013-08-26 20:05:59
797
原创 SMS
1427. SMSTime limit: 0.5 secondMemory limit: 64 MBBackgroundMobile technologies are going to become a part of our life. So many times you have read this sentence in advertisements and
2013-08-26 15:43:02
701
原创 Mars Canals
1287. Mars CanalsTime limit: 1.0 secondMemory limit: 64 MBThere is a quadrate area on the Mars surface wreathed in ideal net of canals. They plot the surface into equal squares (we negle
2013-08-23 10:48:44
611
原创 Dessert
DessertTime Limit: 1000MS Memory Limit: 30000K DescriptionFJ has a new rule about the cows lining up for dinner. Not only must the N (3 <= N <= 15) cows line up
2013-08-23 09:52:09
737
原创 Fence
FenceTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 3235 Accepted: 969DescriptionA team of k (1 <= K <= 100) workers should paint a fence which contain
2013-08-22 16:59:58
856
原创 Hie with the Pie
Hie with the PieTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 3197 Accepted: 1636DescriptionThe Pizazz Pizzeria prides itself in delivering pizzas to
2013-08-21 18:43:59
757
原创 Corn Fields
Corn FieldsTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 5399 Accepted: 2870DescriptionFarmer John has purchased a lush new rectangular pasture compos
2013-08-21 09:25:07
662
原创 Surprising Strings
Surprising StringsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 5241 Accepted: 3445DescriptionThe D-pairs of a string of letters are the ordered pairs
2013-08-20 15:53:48
582
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人