24h購物| | PChome| 登入
2014-04-18 22:56:27
2013-05-04 15:41:58

[JAVA][作業] 做一個移動的按鈕


讓按鈕四處以彈性碰撞撞擊視窗四周,並且計數於按鈕上。同時按鈕被點擊的時候,要隨機切換別的方向。package ce1002.A6.s100502205;import javax.swing.JFrame;import javax.swing.JButton;import java.awt.event.Ac...

2013-05-04 15:37:57

[JAVA][作業] 視窗繪圖


印出如上圖的圓,附加讓它自動旋轉。package ce1002.E5.s100502205;import javax.swing.JFrame;import javax.swing.JPanel;import java.awt.Color;import java.awt.Graphics;import java.util.Timer;import java.uti...

2013-05-04 14:35:23

[UVA][math] 10990 - Another New Function


Problem A Another New Function Input: Standard Input Output: Standard Output Time Limit: 4 Second The depth of phi value of a number is denoted by the number of steps required before...

2013-05-04 14:32:45

[UVA][math] 10174 - Couple-Bachelor-Spinster Numbers.

Problem G Couple-Bachelor-Spinster Numbers Input: standard input Output: standard output Time Limit: 2 seconds Can any number be expressed as a subtraction of two squares? The numb...

2013-05-04 14:28:58

[UVA][dp] 10039 - Railroads


Problem A: Railroads Background It's Friday evening and Jill hates two things which are common to all trains: 1. They are always late. 2. The schedule is always wrong. Nevert...

2013-05-04 14:24:43

[UVA][dp] 10029 - Edit Step Ladders

Problem C: Edit Step Ladders An edit step is a transformation from one word x to another word y such that x and y are words in the dictionary, and x can be transformed to y by adding, deleting, ...

2013-05-03 22:42:12

[UVA][極角排序] 1432 - Fire-Control System


A new mighty weapon has just been developed, which is so powerful that it can attack a sector of indefinite size, as long as the center of the circle containing the sector is the location of the w...

2013-05-03 22:28:20

[UVA][大數] 10433 - Automorphic Numbers

Brightness of Brain Contest Problem E Time limit: 1 second Memory: 32 MB Automorphic Numbers The Problem Recreational mathematics is mathematics that is fun and used as eit...

2013-05-03 19:52:05

[組合語言] Visual Studio 環境設置


基本來源:http://kipirvine.com/asm/gettingStartedVS2010/原本想使用 Visual C++ Express, 軟體檔案比較小 (100 MB上下), 但是在執行的時候,跑出如下的錯誤訊息, 一氣之下砍了它。換上 Visual Studio (2 GB 上下),...

2013-04-30 11:35:26

[POJ][掃描線] 2489 - Line Segments

DescriptionBackground Line segments are a very common element in computational geometry. A line segment is the set of points forming the shortest path between two points (including those points)....

2013-04-29 21:21:30

[組合語言][作業] Macros 改寫前一份作業


Problem —As for HW#2, replace procedure calls with macro calls. —以作業2的程式碼為基礎,將上次的字串處理procedure改寫為marco的形式 助教提示: —MACRO是什麼 ◦用高階語言C++來舉...

2013-04-29 08:29:26

[UVA][單調性、二分] 12064 - Count the Points Inside


We know that if three different points are not collinear then there is a unique circle that passes through them. When three points are collinear we get a unique straight line passing through them and...

2013-04-27 19:58:00

[計算機組織] 期中考古題

Midterm Examination Total 100 points1. [20 points] MIPS (1)There are 3 basic formats in MIPS. Fill in the following blanks.(3pts.)R-format:Opcode   Rs    Rt    Rd    Shamt   Funct___...

2013-04-27 12:18:35

[UVA][幾何、半平面交] 10084 - Hotter Colder

Problem E: Hotter Colder The children's game Hotter Colder is played as follows. Player A leaves the room while player B hides an object somewhere in the room. Player A re-enters at position...

2013-04-27 12:02:19

[UVA][二分+maxflow二分匹配] 10804 - Gopher Strategy

Problem ? Gopher Strategy Time Limit: 3 seconds Agent Cooper: "Look at that! Ducks... on the lake!" Harley Peyton, "Twin Peaks." Gophers like to feed in the field, but they alwa...

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