- 博客(45)
- 资源 (1)
- 收藏
- 关注
原创 sgu 124 Broken line
题目描述:124. Broken linetime limit per test: 0.5 sec. memory limit per test: 4096 KBThere is a closed broken line on a plane with sides parallel to coordinate axes, without self-crossings
2012-10-31 22:57:38 1403 1
原创 sgu 123 The sum
题目描述:123. The sumtime limit per test: 0.5 sec. memory limit per test: 4096 KBThe Fibonacci sequence of numbers is known: F1 = 1; F2 = 1; Fn+1 = Fn + Fn-1, for n>1.You have to find S
2012-10-31 22:14:20 389
原创 sgu 122 The book
题目描述:122. The booktime limit per test: 0.5 sec. memory limit per test: 4096 KBThere is a group of N (2<=N<=1000) people which are numbered 1 through N, and everyone of them has not les
2012-10-31 21:17:33 594
原创 sgu 120 Archipelago
120. Archipelagotime limit per test: 0.5 sec. memory limit per test: 4096 KBArchipelago Ber-Islands consists ofN islands that are vertices of equiangular and equilateral N-gon. Islands are c
2012-10-30 23:50:24 634
原创 sgu 109 Magic of David Copperfield II
题目描述:109. Magic of David Copperfield IItime limit per test: 0.5 sec.memory limit per test: 4096 KBThe well-known magician David Copperfield loves lo show the following trick: a squar
2012-10-30 20:58:12 605 1
原创 sgu 112 ab-ba
题目:112. ab-batime limit per test: 0.5 sec. memory limit per test: 4096 KBYou are given natural numbers a and b. Find ab-ba.InputInput contains numbers a and b (1≤a,b≤100).Outpu
2012-10-30 18:50:36 1007
原创 sgu 119 Magic Pairs
题目描述:119. Magic Pairstime limit per test: 0.5 sec. memory limit per test: 4096 KB“Prove that for any integer X and Y if 5X+4Y is divided by 23 than 3X+7Y is divided by23 too.
2012-10-30 13:31:12 537
原创 sgu 118 Digital Root
118. Digital Roottime limit per test: 0.5 sec. memory limit per test: 4096 KBLet f(n) be a sum of digits for positive integern. If f(n) is one-digit number then it is a digital root for n
2012-10-29 09:26:13 331
原创 sgu 117 Counting
题目描述:117. Countingtime limit per test: 0.5 sec. memory limit per test: 4096 KBFind amount of numbers for given sequence of integer numbers such that after raising them to theM-th pow
2012-10-29 08:54:15 406
原创 sgu 116 Index of super-prime
题目描述:116. Index of super-primetime limit per test: 0.5 sec. memory limit per test: 4096 KBLet P1, P2, … ,PN, … be a sequence of prime numbers. Super-prime number is such a prime number
2012-10-26 11:38:49 535
原创 sgu 115 Calendar
题目描述:115. Calendartime limit per test: 0.5 sec. memory limit per test: 4096 KBFirst year of new millenium is gone away. In commemoration of it write a program that finds the name of th
2012-10-26 10:52:48 353
原创 sgu 114 Telecasting station
题目描述:114. Telecasting stationtime limit per test: 0.5 sec. memory limit per test: 4096 KBEvery city in Berland is situated on Ox axis. The government of the country decided to build ne
2012-10-26 10:31:12 449
原创 sgu 113 Nearly prime numbers
题目描述:113. Nearly prime numberstime limit per test: 0.5 sec. memory limit per test: 4096 KBNearly prime number is an integer positive number for which it is possible to find such primes
2012-10-26 09:07:18 397
原创 sgu 548 Dragons and Princesses
题目描述: Dragons and PrincessesTime limit per test: 2 second(s)Memory limit: 262144 kilobytesinput: standardoutput: standardOnce upon a time there lived the Knight. Being very cou
2012-10-25 11:11:01 421
原创 sgu 108 Self-numbers 2
题目描述:108. Self-numbers 2time limit per test: 1 sec. memory limit per test: 4096 KBIn 1949 the Indian mathematician D.R. Kaprekar discovered a class of numbers called self-numbers. For
2012-10-25 10:36:05 407
原创 sgu 107 987654321 problem
题目描述:107. 987654321 problemtime limit per test: 0.5 sec. memory limit per test: 4096 KBFor given number N you must output amount of N-digit numbers, such, that last digits of their squ
2012-10-24 17:35:44 392
原创 sgu 106 The equation
题目描述:106. The equationtime limit per test: 0.5 sec. memory limit per test: 4096 KBThere is an equation ax + by + c = 0. Given a,b,c,x1,x2,y1,y2 you must determine, how many integer roo
2012-10-24 00:48:13 605
原创 sgu 105 Div 3
题目描述:105. Div 3time limit per test: 0.5 sec. memory limit per test: 4096 KBThere is sequence 1, 12, 123, 1234, ..., 12345678910, ... . Given first N elements of that sequence. You must
2012-10-23 23:06:27 576
原创 sgu 104 Little shop of flowers
题目描述:104. Little shop of flowerstime limit per test: 0.5 sec. memory limit per test: 4096 KBPROBLEMYou want to arrange the window of your flower shop in a most pleasant way. You have
2012-10-23 22:57:52 471
原创 sgu 103 Traffic Lights
题目描述:103. Traffic LightsTime limit per test: 0.5 second(s)Memory limit: 4096 kilobytesinput: standardoutput: standardIn the city of Dingilville the traffic is arranged in an un
2012-10-23 21:02:38 830
原创 hdu 2176 取(m堆)石子游戏
题目描述: 取(m堆)石子游戏Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 805 Accepted Submission(s): 479Problem Description
2012-10-22 19:40:52 834
原创 hdu 2177 取(2堆)石子游戏
题目描述:取(2堆)石子游戏Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 449 Accepted Submission(s): 273Problem Description有两堆石子,数量任意,可以不同。游戏开始由
2012-10-22 19:23:32 367
原创 hdu 3415 Max Sum of Max-K-sub-sequence
题目描述:Max Sum of Max-K-sub-sequenceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4208 Accepted Submission(s): 1503Problem De
2012-10-22 11:48:28 954
原创 hdu 3075 Print Article
题目描述:Print ArticleTime Limit: 9000/3000 MS (Java/Others) Memory Limit: 131072/65536 K (Java/Others)Total Submission(s): 2485 Accepted Submission(s): 815Problem DescriptionZero
2012-10-22 00:05:15 636
原创 hdu 1864 最大报销额
题目描述:最大报销额Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 11009 Accepted Submission(s): 3010Problem Description现有一笔经费可以报销一定
2012-10-19 20:39:49 305
原创 hdu 2955 Robberies
题目描述:RobberiesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5324 Accepted Submission(s): 2009Problem DescriptionThe aspir
2012-10-19 19:46:18 444
原创 hdu 2602 Bone Collector
题目描述:Bone CollectorTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 14889 Accepted Submission(s): 5911Problem DescriptionMan
2012-10-19 18:29:52 307
原创 hdu 2159 FATE
题目描述:FATETime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4124 Accepted Submission(s): 1843Problem Description最近xhd正在玩一款叫做FA
2012-10-19 00:14:43 302
原创 hdu 2084 数塔
题目描述:数塔Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 11593 Accepted Submission(s): 6969Problem Description在讲述DP算法的时候,一个经典
2012-10-19 00:01:24 311
原创 hdu 2059 龟兔赛跑
题目描述:龟兔赛跑Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7149 Accepted Submission(s): 2744Problem Description据说在很久很久以前,可怜的兔
2012-10-18 23:52:58 427
原创 hdu 1978 How many ways
题目描述:How many waysTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1458 Accepted Submission(s): 904Problem Description这是一个简单
2012-10-18 23:14:19 289
原创 hdu 1789 Doing Homework again
题目描述:Doing Homework againTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3140 Accepted Submission(s): 1819Problem Description
2012-10-18 22:54:55 402
原创 hdu 1421 搬寝室
题目描述:搬寝室Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 10056 Accepted Submission(s): 3370Problem Description搬寝室是很累的,xhd深有体
2012-10-18 00:23:14 377
原创 hdu 1284 钱币兑换问题
题目描述:钱币兑换问题Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3147 Accepted Submission(s): 1769Problem Description在一个国家仅有1分,2分
2012-10-17 23:19:07 322
原创 hdu 1260 Tickets
题目描述:TicketsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 560 Accepted Submission(s): 280Problem DescriptionJesus, what a
2012-10-17 22:51:41 729
原创 hdu 1203 I NEED A OFFER!
题目描述:I NEED A OFFER!Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 10310 Accepted Submission(s): 3858Problem DescriptionSp
2012-10-17 20:24:16 304
原创 hdu 1176 免费馅饼
题目描述:免费馅饼Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 15025 Accepted Submission(s): 4979Problem Description都说天上不会掉馅饼,但有一
2012-10-17 19:25:23 333
原创 hdu 1171 Big Event in HDU
题目描述:Big Event in HDUTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 14161 Accepted Submission(s): 4979Problem Description
2012-10-17 18:50:33 374
原创 hdu 1160 FatMouse's Speed
题目描述: FatMouse's SpeedTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5675 Accepted Submission(
2012-10-17 01:06:04 620
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人