24h購物| | PChome| 登入
2014-04-18 22:56:27
2012-05-06 10:18:14

[UVA][EASY][Math] 10432 - Polygon Inside A Circle


Brightness of Brain Contest Problem D Time limit: 1 second Memory: 16 MB Polygon Inside A Circle The Problem Consider a polygon of equal sides inside a circle as shown in t...

2012-05-06 10:09:51

[UVA][最大值最小化][貪婪+二分] 11413 - Fill the Containers

Problem C : Fill the ContainersTime Limit: 1 sec A conveyor belt has a number of vessels of different capacities each filled to brim with milk. The milk from conveyor belt is to be filled into 'm...

2012-05-05 22:44:12

[UVA] 10487 - Closest Sums

Problem DClosest SumsInput: standard inputOutput: standard outputTime Limit: 3 secondsGiven is a set of integers andthen a sequence of queries. A query gives you a number and asks to find a sum oftwo ...

2012-05-05 22:18:41

[UVA] 11650 - Mirror Clock


E Mirror Clock Input: Standard Input Output: Standard Output Little Onuvob has learnt to read wall clock.Very often he loudly announces the time. He has a big cloc...

2012-05-05 21:41:57

[UVA][Math] 10991 - Region


Problem B Region Input: Standard Input Output: Standard Output From above figure, it is clear that C1, C2 and C3 circles are touching each other. Consider, C1 circle ...

2012-05-05 21:15:10

[UVA][Math] 474 - Heads / Tails Probability


Heads / Tails Probability The probability of n heads in a row tossing a fair coin is 2-n. Calculate the probability for any positive integer n ( ). Input A list of valid values ...

2012-05-05 21:03:39

[UVA][Math] 12024 - Hats


F - Hats Background John Hatman, the honest cloakroom attendant of the Royal Theatre of London, would like to know the solution to the following problem. The Problem When the show f...

2012-05-05 20:43:13

[UVA][牛頓法] 10341 - Solve It

Problem F Solve It Input: standard input Output: standard output Time Limit: 1 second Memory Limit: 32 MB Solve the equation: p*e-x + q*sin(x) + r*cos(x) + s*tan(x) + t*x2 + u = ...

2012-05-05 20:13:16

[UVA][二分] 10341 - Solve It

Problem F Solve It Input: standard input Output: standard output Time Limit: 1 second Memory Limit: 32 MB Solve the equation: p*e-x + q*sin(x) + r*cos(x) + s*tan(x) + t*x2 + u = ...

2012-05-05 18:26:03

[UVA][ConvexHull&重心] 10002 - Center of Masses


Center of Masses Find out the center of masses of a convex polygon. Input A series of convex polygons, defined as a number n () stating the number of points of the polygon, followed ...

2012-05-05 10:13:07

[JAVA][作業][被拋棄的 Lab5]

課本 Page 541. 第 2, 3 題, 為什麼說被拋棄了呢 ?教授上課出了作業, 結果到最後不用繳交, 導致我們這群提早寫作業的人成了笨蛋!Create a class named Movie that can be used with your video rental business. T...

2012-05-04 20:23:42

[UVA] 11398 - The Base-1 Number System

Problem D The Base-1 Number System Input: Standard Input Output: Standard Output As we know, in an n-based number system, there are n different types of digits. In this way, a 1-...

2012-05-04 20:11:23

[UVA] 12406 - Help Dexter


D Help Dexter You know Dexter, right? He is a very talented young scientist. He has a huge lab hidden inside his building. He made all possible security arrangement to kee...

2012-05-04 11:59:55

RMQ,zkw式線段樹

詳情請去搜尋 "統計的力量"以下是 100 - The 3n+1 problem#include <stdio.h>#define max(x, y) ((x) > (y) ? (x) : (y))#define swap(x, y) {int tmp; tmp = x, x = y, y = tmp;}#define N 1000000#define...

2012-05-04 11:16:27

[UVA] 10063 - Knuth's Permutation

Problem I Knuth’s Permutation Input: standard input Output: standard output There are some permutation generation techniques in Knuth’s book “The Art of Computer Programmin...

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