24h購物| | PChome| 登入
2014-04-18 22:56:27
2014-02-17 20:56:36

[UVA][Nim] 11859 - Division Game

A Division Game Input: Standard Input Output: Standard Output Division game is a 2-player game. In this game, there is a matrix of positive integer...

2014-02-17 19:22:23

[UVA][博弈] 11863 - Prime Game

E Prime Game Input: Standard Input Output: Standard Output Soha and Tara have stopped playing the game ‘mouse and cheese’ which they invented fe...

2014-02-17 17:41:58

[UVA][假解] 11898 - Killer Problem


Killer Problem You are given an array of N integers and Q queries. Each query is a closed interval [l, r]. You should find the minimum absolute difference between all pairs in that interval. ...

2014-02-17 17:19:40

[UVA] 11210 - Chinese Mahjong


Problem C Chinese Mahjong Mahjong () is a game of Chinese origin usually played by four persons with tiles resembling dominoes and bearing various designs, which are drawn and discarded unti...

2014-02-17 16:47:35

[UVA][博弈] 11818 - Mouse & a Cheese

Problem A Game – Mouse and Cheese Input: Standard Input Output: Standard Output SOHA and TARA have recently invented a new game called “Mouse and Cheese”. As the name suggests, this g...

2014-02-17 16:38:11

[UVA] 10547 - Hidden Truth in Recurrence


10547 - Hidd Problem I Hidden Truth in Recurrence Time Limit: 1 second You are given a recursive function, which has the following form: Now, you have to find: , where...

2014-02-17 16:33:10

[UVA][剪枝] 10549 - Russian Dolls

Problem A: Russian Dolls Russian nesting dolls are brightly painted hollow wooden figures. The dolls in a set have roughly the same shape, typically humanoid, but different sizes. When the set ...

2014-02-17 09:22:27

[UVA][線段樹] 10587 - Mayor's posters


Problem G: Mayor's posters The citizens of Bytetown, AB, could not stand that the candidates in the mayoral election campaign have been placing their electoral posters at all places at their wh...

2014-02-17 09:11:25

[UVA][窮舉] 10273 - Eat or Not to Eat


Problem E Eat or not to Eat? Input: Standard Input Output: Standard Output A young farmer has N cows, but they produced really really a very very small amount of milk. John cannot live...

2014-02-17 09:06:52

[UVA][排列組合] 10232 - Bit-wise Sequence

Problem D: Bit-wise SequenceDr. DoLots is an expert in number theory and he is currently studying prime numbers. In fact, some people say that he has some formula which can generate the p...

2014-02-17 09:02:17

[UVA][概率] 10217 - A Dinner with Schwarzenegger


Problem K A Dinner with Schwarzenegger !!! Input: Standard Input Output: Standard Output Time Limit: 2 seconds One of your friends informed you that a nearby theater in your city h...

2014-02-17 08:55:07

[UVA][歐拉迴路] 10203 - Snow Clearing


Problem C: Snow Clearing As the days become shorter and the nights become longer we turn our thoughts to snow clearing. Due to budget cuts, the Big Noisy City has exactly one snow plow. The plow...

2014-02-17 08:49:04

[UVA][floyd] 10246 - Asterix and Obelix


Problem A Asterix and Obelix Input: standard input Output: standard output Time Limit: 5 seconds Memory Limit: 32 MB After winning a gruesome battle against the Romans in a f...

2014-02-17 08:34:39

[UVA][字串分析] 10442 - Basic


Problem D: Basic The programming language Ada has integer constants that look like this: 123, 8#123#, 16#abc#. These constants represent the integers 123, 83 (123 base 8) and 2739 (abc base 16). ...

2014-02-17 08:25:13

[UVA] 10426 - Knights' Nightmare

Problem H Knights' Nightmare Input: standard input Output: standard output Time Limit: 5 seconds The people of the remote country KnightLand are crazy about chess. They play chess wheneve...

第一頁      ‹上一頁       1 .  2 .  3 .  4 .  5 .  6 .  7 .  8 .  9 .  10 .      下一頁›      最末頁
第 4 / 142 頁 , 共 2116 筆       下十頁»      
TOP