24h購物| | PChome| 登入
2014-04-18 22:56:27
2013-05-15 16:00:03

[UVA][數學] 1363 - Joseph's Problem


Joseph likes taking part in programming contests. His favorite problem is, of course, Joseph's problem. It is stated as follows. There are n persons numbered from 0 to n - 1 standing...

2013-05-14 09:59:59

[UVA][二分答案+二分匹配] 11262 - Weird Fence


Problem C Weird Fence Input: Standard Input Output: Standard Output In the land of our great Sultan, the World Weird Fence (WWF) festival is going to take place again. For the festival, ...

2013-05-14 09:55:15

[UVA][二分] 11646 - Athletics Track

A Athletics Track Input: Standard Input Output: Standard Output London Olympics is approaching very shortly – in just 3 years. Three years might not sound as that...

2013-05-14 09:52:06

[UVA][二分] 10668 - Expanding Rods


Problem A: Expanding Rods When a thin rod of length L is heated n degrees, it expands to a new length L'=(1+n*C)*L, where C is the coefficient of heat expansion. When a thin rod is mounted...

2013-05-14 09:48:54

[UVA][困難dp] 1238 - Free Parentheses

You are given a simple arithmetic expression which consists of only addition and subtraction operators. For example: 1 - 2 + 3 - 4 - 5 You are free to put any parentheses to the expressio...

2013-05-14 09:42:45

[UVA][模擬] 1544 - Simple Arithmetics

One part of the new WAP portal is also a calculator computing expressions with very long numbers. To make the output look better, the result is formated the same way as is it usually used with manua...

2013-05-12 20:08:00

[UVA][最小表示法、窮舉] 12494 - Distinct Substring


BGC TRUST IUPC 2012 Problem A Distinct Substring Given a string S, Dexter wants to find the number of different substrings in S. He considers two substrings same if they have a ...

2013-05-12 20:04:40

[UVA][循環節] 12620 - Fibonacci Sum

A - Fibonacci Sum Background A Fibonacci sequence is calculated by adding the previous two members of the sequence, with the first two members being both 1. f (1) = 1; f (2) = 1; f ...

2013-05-12 20:02:58

[UVA][SlidingWindow] 11536 - Smallest Sub-Array

H Smallest Sub-Array Input: Standard Input Output: Standard Output Consider an integer sequence consisting of N elements where – X1 = 1 X2 = 2 X...

2013-05-12 09:29:59

[JAVA][作業] 簡易計算機


製作一個類似windows上的簡易小算盤,功能只需 “+”、“-”、”C”、“=”,以及數字鍵即可 其運算只需做整數運算即可,但必須跟windows小算盤一樣可以連續運算: 例如1+2+3-4+5-3最後才按”=”,中途按下的”+”、”...

2013-05-11 16:52:01

[2013/5/11] 很高興認識你


[2013/4/22]電子電路炸裂,多益成績也很意外,居然有三百。 (*´д`)彡上帝為我開了一小扇窗,必然會關了很多扇門。[2013/4/24]跟我預期的一樣,期中考上機代碼遺失ヽ(`Д´)ノ 就因為這樣考第二次期中考?//"何"等雷...

2013-05-11 15:00:24

[UVA][ad-hoc] 11319 - Stupid Sequence


Problem E Stupid Sequence Input: Standard Input Output: Standard Output A stupid sequence is a sequence generated by a function defined by a polynomial as shown below: So ...

2013-05-11 13:38:21

[UVA][3D球面距離] 10316 - Airline Hub

Problem E Airline Hub Input: standard input Output: standard output Time Limit: 2 seconds Memory Limit: 32 MB World Wide Flyer (WWF) has landing rights at several airports throug...

2013-05-11 13:35:04

[UVA][組合、排容] 12572 - RMQ Overkill


RMQ Overkill Range minimum query problems are getting more and more common everyday. I used to consider them as hard problems some years ago, but not anymore. So I decided to make this harder for...

2013-05-09 08:59:37

[UVA][字串處理] 10352 - Count the eWords

Problem H Count the eWords Input: standard input Output: standard output Time Limit: 2 seconds Memory Limit: 32 MB The Malfunction Checkers Ltd (MCL) is famous for its ...

第一頁      ‹上一頁       41 .  42 .  43 .  44 .  45 .  46 .  47 .  48 .  49 .  50 .      下一頁›      最末頁
«上十頁      第 44 / 142 頁 , 共 2116 筆       下十頁»      
TOP