24h購物| | PChome| 登入
2014-04-18 22:56:27
2013-04-27 11:50:47

[UVA][Trie] 10745 - Dominant Strings

Problem F Dominant Strings Input: standard input Output: standard output Time Limit: 2 seconds Given two strings s1 and s2, we say that s1 dominates s2 if the (multi)set of characters in ...

2013-04-27 11:34:53

[UVA][最大矩形] 10043 - Chainsaw Massacre

Problem E: Chainsaw Massacre Background As every year the Canadian Lumberjack Society has just held its annual woodcutting competition and the national forests between Montreal and...

2013-04-27 11:10:35

[UVA][凸包、射線法] 361 - Cops and Robbers

Cops and Robbers You are to simulate a game of Cops and Robbers. In this game, cops, robbers, and other citizens are represented as points in a two-dimensional plane. A citizen is said to be sa...

2013-04-27 11:03:21

[UVA][凸包、窮舉] 811 - The Fortified Forest

The Fortified Forest Once upon a time, in a faraway land, there lived a king. This king owned a small collection of rare and valuable trees, which had been gathered by his ancestors on their ...

2013-04-25 07:59:45

[UVA][數學] 1249 - Euclid

In one of his notebooks, Euclid gave a complex procedure for solving the following problem. With computers, perhaps there is an easier way. In a 2D plane, consider a line segment AB, another p...

2013-04-24 10:10:43

[UVA][dp、最長共同回文] 12473 - Common Palindrome

A palindrome is a string that reads the same from the left as it does from the right. Given two strings A and B, you need to find the length of longest palindrome which is a subsequence of both A a...

2013-04-23 09:14:31

[UVA][博弈、記憶化搜索] 12469 - Stones

Problem I. Stones Alicia and Roberto like to play games. Today, they are playing a game where there’s a pile of stones on the table. The two play...

2013-04-23 08:30:50

[UVA][最長回文路徑、DP] 1244 - Palindromic paths

In Ragannagar ( a small town in India), people are obsessed with palindromes . There are N road junctions(also callled points) labeled 0 to N-1 and roads exist between every pair of points. Roads are ...

2013-04-22 22:14:00

[UVA][bitmask、DP] 1252 - Twenty Questions

Consider a closed world and a set of features that are defined for all the objects in the world. Each feature can be answered with ``yes" or ``no". Using those features, we can identify any object...

2013-04-22 20:44:50

[UVA][基於概率] 10707 - 2D-Nim


Problem C2-D NimInput: standard inputOutput: standard outputTimeLimit: 1 secondThe 2D-Nim board game is played on a grid, withpieces on the grid points. On each move, a player may remove any positive ...

2013-04-22 19:57:43

[UVA][bitmask] 11391 - Blobs in the Board

I I U C O N L I N E C O N T E S T 2 0 0 8 Problem G: Blobs in the Board Input: standard input Output: standard output You are...

2013-04-22 19:09:01

[UVA] 10651 - Pebble Solitaire


Problem A Pebble Solitaire Input: standard input Output: standard output Time Limit: 1 second Pebble solitaire is an interesting game. This is a game where you are given a board with an arra...

2013-04-20 11:36:29

[UVA][三角形交集][線段交點、射線法、凸包] 11122 - Tri Tri

Problem E TriTri Input: Standard Input Output: Standard Output Given the vertices of two triangles, check whether both of them have any common interior point. No points on the edges or ...

2013-04-20 10:28:34

[UVA][窮舉] 10001 - Garden of Eden


Garden of Eden Cellular automata are mathematical idealizations of physical systems in which both space and time are discrete, and the physical quantities take on a finite set of discrete value...

2013-04-19 22:09:02

[2013/4/19] 兩年過去了


[2013/4/19] 兩年過去了[2013/4/19] 兩年過去了[2013/4/6]「你都把 CODE 丟在網路上,不怕被抄嗎?」 「作業一旦被人抄襲的話,連你都會零分。」----- 我想很多人都有這個疑問想問我。 吶,如果我零分的話,就零分吧...

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