24h購物| | PChome| 登入
2014-04-18 22:56:27
2013-06-04 08:32:52

[UVA][math] 911 - Multinomial Coefficients


Problem G Multinomial Coefficients One of the first formulas we were taught in high school mathematics is . Later on, we learned that this is a special case of the expansion ,...

2013-06-04 08:30:01

[UVA][最短路] 11573 - Ocean Currents

Problem B: Ocean Currents For a boat on a large body of water, strong currents can be dangerous, but with careful planning, they can be harnessed to help the boat reach its destination. Your job ...

2013-06-04 08:24:27

[UVA][dfs、剪枝] 10890 - Maze

Problem D Maze Input File: d.in Output: Standard Output In this problem you are given a square maze of dimension N with N*N blocks. Each block is numbered as follows: ...

2013-06-04 08:19:35

[UVA][暴力] 11548 - Blackboard Bonanza


Problem B BLACKBOARD BONANZAAlice and Bob both have lots of candies but want more. They decide to play the following turn-based game. First they write some words on a few pieces of paper and put the...

2013-06-04 08:15:19

[UVA][dp] 11545 - Avoiding Jungle in the Dark

Problem H Avoiding Jungle in the Dark Input: Standard Input Output: Standard Output A Pilgrim is all set for a long journey to the Holy land. The journey is long and involves covering...

2013-06-04 08:09:12

[UVA] 11507 - Bender B. Rodríguez Problem


Bender B. Rodríguez Problem Bender is a robot built by Mom's Friendly Robot Company at its plant in Tijuana, Mexico in 2996 . He is a Bending-Unit 22, serial number 2716057 and chassis number 1...

2013-06-04 08:06:29

[UVA] 11508 - Life on Mars?


Life on Mars? Recently, the top-secret space vehicle Stardust was launched by the Association for the Cosmos Mission, ACM for short. The sole purpose of this mission is to collect scientific da...

2013-06-04 08:04:06

[UVA][圖論] 11550 - Demanding Dilemma

Problem D DEMANDING DILEMMA A simple undirected graph is an ordered pair G = (V, E) where V is a non-empty set of vertices, and E is a set of unordered pairs (u, v) where u and v are in V and u ≠ v. ...

2013-06-04 07:57:22

[UVA][dp] 11022 - String Factoring

Problem B String Factoring Input: Standard Input Output: Standard Output Spotting patterns in seemingly random strings is a problem with many applications. E.g. in our efforts to underst...

2013-06-03 08:28:42

[組合語言][作業] TSR program


作業要求:Write a TSR program which uses the keyboard interrupt.寫一個以鍵盤interrupt作為啟動條件的TSR(Terminate and Stay Resident)程式。When a hot key (using ^ as hot key) is pressed, the TSR program...

2013-06-01 14:23:58

[2013/6/1] 何謂喜歡


[2013/5/15]今天助教忘記借教室用來考期中考,很抱歉讓原本借教室的同學感到困擾, 替俺們這堂課的助教深感抱歉。 考試前得知了這個消息,立馬去找何錦文教授, 教授表示:「我們遇到天兵了!」 「... (´_ゝ`)」頓時...

2013-06-01 12:40:04

[JAVA][作業] 做個拉霸?


import java.awt.BorderLayout;import java.awt.Image;import java.awt.Graphics;import java.awt.MediaTracker;import java.awt.GridLayout;import java.awt.event.*;import java.awt.Color;import java.awt.geom.P...

2013-05-31 18:46:44

[UVA] 11040 - Add bricks in the wall

Add bricks in the wall This in not ``another brick in the wall", it's just a matter of adding numbers. Suppose you have a wall with the shape of a triangle, like the one shown below. The wa...

2013-05-31 18:35:07

[UVA][math] 11424 - GCD - Extreme (I)


Problem H GCD Extreme Input: Standard Input Output: Standard Output Given the value of N, you will have to find the value of G. The definition of G is given below: ...

2013-05-31 18:27:42

[UVA][建表、枚舉] 11099 - Next Same-Factored

Problem F Next Same-Factored Time Limit: 6 Seconds Just print out the next integer number which has the same prime factors as the given number and is less than 2,000,000. Inpu...

第一頁      ‹上一頁       31 .  32 .  33 .  34 .  35 .  36 .  37 .  38 .  39 .  40 .      下一頁›      最末頁
«上十頁      第 40 / 142 頁 , 共 2116 筆       下十頁»      
TOP