24h購物| | PChome| 登入
2014-04-18 22:56:27
2012-05-12 17:44:39

[UVA][zkw式二維線段樹] 11297 - Census

C. Census Time Limit: 8 sec Description This year, there have been many problems with population calculations, since in some cities, there are many ...

2012-05-12 15:23:33

[UVA][二維線段樹] 11297 - Census

C. Census Time Limit: 8 sec Description This year, there have been many problems with population calculations, since...

2012-05-12 10:34:24

[UVA][path] 11015 - 05-2 Rendezvous

Problem D05-2 Rendezvous Input: Standard InputOutput:Standard Output Our team wants to meet together in one place to doour homework. Our 05-2 team has 22 members. Because of that we are a bit confused...

2012-05-12 09:34:41

[JavaScript] Introduction to Objects II

Privacy Please!function Person(first,last,age) { this.firstname = first; this.lastname = last; this.age = age; var bankBalance = 7500;}// create your Person var john = new Person("A", "B", 5);// try t...

2012-05-12 09:22:10

[JavaScript] Introduction to Objects II

Objects, Objects Everywhere// complete these definitions so that they will have// the appropriate typesvar anObj = { job: "I'm an object!" };var aNumber = 42;var aString = "I'm a string!";console.log(...

2012-05-12 08:47:03

[UVA][ConvexHull] 109 - SCUD Busters


SCUD Busters Background Some problems are difficult to solve but have a simplification that is easy to solve. Rather than deal with the difficulties of constructing a model of the Earth (a so...

2012-05-12 08:09:54

[UVA][String] 10062 - Tell me the frequencies!

Problem H Tell me the frequencies! Input: standard input Output: standard output Given a line of text you will have to find out the frequencies of the ASCII characters present in...

2012-05-12 07:56:36

[UVA][String] 468 - Key to Success


Key to SuccessAny one-to-one mapping, f, of any alphabet to itself can beused to encode text by replacing each occurrence of any letter, c, withf(c).One such mapping could be the mapping of a letter t...

2012-05-12 07:07:39

[UVA][TLE] 1227 - The longest constant gene

#include <stdio.h>#include <stdlib.h>#include <string.h>#define maxL 6000050struct SuffixArray { int sa[maxL], h[maxL], n; int w[maxL], ta[maxL], tb[maxL]; char str[maxL]; void sort(...

2012-05-11 20:28:39

[UVA][SA] 1223 - Editor


Mr. Kim is a professional programmer. Recently he wants to design a new editor which has as many functions as possible. Most editors support a simple search function that finds one occurrence (or ...

2012-05-11 19:59:23

Suffix Array,後綴數組+高度數組

詳情請查看百度百科範例題目[UVA]11512 - GATTACA#include <stdio.h>#include <stdlib.h>#include <string.h>struct SuffixArray { int sa[1005], h[1005], n; int w[1005], ta[1005], tb[1005]; ...

2012-05-11 19:56:13

[UVA][SA] 11512 - GATTACA


GATTACA The Institute of Bioinformatics and Medicine (IBM) of your country has been studying the DNA sequences of several organisms, including the human one. Before analyzing the DNA of an orga...

2012-05-11 07:26:21

[UVA][字串搜尋] 422 - Word-Search Wonder


Word-Search Wonder The Pyrates Restaurant was starting to fill up as Valentine McKee walked in. She scanned the crowd for her sister, brother-in-law, and nephew. Seeing her sister waving from th...

2012-05-11 07:04:45

[UVA][字串搜尋] 10010 - Where's Waldorf?


Where's Waldorf?Given a m by n grid of letters, (), and a listof words, find the location in the grid at which the word can be found.A word matches a straight, uninterrupted line of letters in the gri...

2012-05-11 06:41:49

[UVA][字串處理] 444 - Encoder and Decoder

Encoder and Decoder Being in charge of the computer department of the Agency of International Espionage, you are asked to write a program that will allow a spy to encode and decode their messages...

第一頁      ‹上一頁       91 .  92 .  93 .  94 .  95 .  96 .  97 .  98 .  99 .  100 .      下一頁›      最末頁
«上十頁      第 96 / 142 頁 , 共 2116 筆       下十頁»      
TOP