- 博客(17)
- 资源 (9)
- 收藏
- 关注
原创 USACO-cha2-sec2.2 Subset Sums
Subset SumsJRMFor many sets of consecutive integers from 1 through N (1 For example, if N=3, one can partition the set {1, 2, 3} in one way sothat the sums of both subsets are identical:{3}
2014-07-30 12:47:17 866
原创 Round #186 (Div.2) Ilya and Matrix
C. Ilya and Matrixtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIlya is a very good-natured lion. He likes maths. O
2014-07-29 12:16:29 782
原创 Round #201 (Div.2) B. Fixed Points
B. Fixed Pointstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA permutation of length n is an integer sequence such
2014-07-28 21:46:57 907
原创 POJ-1659 Frogs' Neighborhood
Frogs' NeighborhoodTime Limit: 5000MS Memory Limit: 10000KTotal Submissions: 7106 Accepted: 3067 Special JudgeDescription未名湖附近共有N个大小湖泊L1, L2, ..., Ln(其中包括未名
2014-07-28 20:29:30 1003
原创 USACO-cha2-sec2.1 Healthy Holsteins
Healthy HolsteinsBurch & KolstadFarmer John prides himself on having the healthiest dairy cowsin the world. He knows the vitamin content for one scoop of eachfeed type and the minimum daily vitami
2014-07-28 00:32:21 1017
原创 Round #189 (Div.2) B. Ping-Pong (Easy Version)
B. Ping-Pong (Easy Version)time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn this problem at each moment you have a
2014-07-25 15:11:53 1360
原创 AHU-OJ 187 图的最短路径
图的最短路径Time Limit: 1000 ms Case Time Limit: 1000 ms Memory Limit: 64 MBTotal Submission: 172 Submission Accepted: 72Description求下图中从V1 到V10的最短路径Input输入图的邻接矩阵表示Output输出路径序列
2014-07-25 14:15:25 1162
原创 USACO-cha2-sec2.1 The Castle
The CastleIOI'94 - Day 1In a stroke of luck almost beyond imagination, Farmer John was sent a ticket to the Irish Sweepstakes (really a lottery) for his birthday. This ticket turned out to have on
2014-07-15 13:43:14 1135
原创 USACO-cha1-sec1.5 Superprime Rib
Superprime RibButchering Farmer John's cows always yields the best prime rib. You can tell prime ribs by looking at the digits lovingly stamped across them, one by one, by FJ and the USDA. Farmer
2014-07-07 22:18:41 974
原创 USACO-cha1-sec1.5 Prime Palindromes
Prime PalindromesThe number 151 is a prime palindrome because it is both a prime number and a palindrome (it is the same number when read forward as backward). Write a program that finds all prime
2014-07-07 14:50:41 1054
原创 USACO-cha1-sec1.5 Checker Challenge
Checker ChallengeExamine the 6x6 checkerboard below and note that the six checkers are arranged on the board so that one and only one is placed in each row and each column, and there is never more
2014-07-05 15:24:37 897
原创 USACO-cha1-sec1.4 Mother's Milk
Mother's MilkFarmer John has three milking buckets of capacity A, B, and C liters. Each of the numbers A, B, and C is an integer from 1 through 20, inclusive. Initially, buckets A and B are empty
2014-07-04 19:33:04 1095
原创 USACO-cha1-sec1.4 Arithmetic Progressions
Arithmetic ProgressionsAn arithmetic progression is a sequence of the form a, a+b, a+2b, ..., a+nb where n=0,1,2,3,... . For this problem, a is a non-negative integer and b is a positive integer.
2014-07-04 19:03:34 1001
原创 USACO-cha1-sec1.4 The Clocks
The ClocksIOI'94 - Day 2Consider nine clocks arranged in a 3x3 array thusly:|-------| |-------| |-------| | | | | | | | |---O | |---O | | O |
2014-07-03 22:40:05 1092 3
原创 USACO-cha1-sec1.4 Packing Rectangles
Packing RectanglesIOI 95 The six basic layouts of four rectanglesFour rectangles are given. Find the smallest enclosing (new) rectangle into which these four may be fitted without overlapping.
2014-07-03 14:06:04 1196
转载 Go To Statement Considered Harmful—— Dijkstra
KeyWords and Phrases: go to statement, jump instruction, branchinstruction, conditional clause, alternative clause, repetitiveclause, program intelligibility, program sequencingFora number of ye
2014-07-03 13:15:28 1941 1
Code::Blocks13.12 汉化+多方案主题(代码高亮)+智能缩进
2014-04-20
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人