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

[ZJ][擴充歐幾里德] d374. 6. X^2 ≡ 1 (mod M)

內容 : 給你一個式子X^2 ≡ 1 (mod M) 和M ( 0<X≦M ),請找出所有符合這個式子的X。 例如:M=5,則X 可以等於1 或4;M=8 時,X 可以等於1, 3, 5, 7。請你寫一個程式,針對每一個M,輸出能滿足...

2013-05-31 17:09:57

[UVA][擴充歐幾里德] 10090 - Marbles

Problem F Marbles Input: standard input Output: standard output I have some (say, n) marbles (small glass balls) and I am going to buy some boxes to store them. The boxes are of two t...

2013-05-30 20:29:32

[JAVA][作業] 從 JFrame 改用 JApplet


功能規定:用 JApplet 代替 JFrame 完成此程式 :1. 程式啟動時,隨機產生 10 個 JLabel 在視窗中不同位置。(不用判斷重疊)2. JLabel 的內容為小寫字母 a~z 。3. 當鍵盤輸入英文字母時要消除對應到的 JLabel 。Demo 與...

2013-05-29 16:41:41

[UVA][乘法反元素、Math] 12619 - Just Make A Wish


Just Make A Wish If you are given two sides of a rectangle, you can find the area of the rectangle very easily. But can you do the opposite? Given the area of a rectangle can you tell me how ...

2013-05-29 16:31:38

[UVA][Easy] 12614 - Earn For Future


Earn For Future! In a lazy afternoon the great Froogrammer came to realize that, to make his future plans successful he needs a lot of money. To make some quick cash he decided to go to the c...

2013-05-29 16:29:08

[UVA][Easy] 12626 - I ❤ Pizza


G - I ❤ Pizza Context Everybody loves pizza: Margarita, Four cheese, Salami, Caprichosa, Neapolitan, Hawaiian... The famous pizza Margarita is named after the Italian Queen Margarita o...

2013-05-29 16:27:03

[UVA][Easy] 12611 - Beautiful Flag


Beautiful Flag Teering is a little boy. He is trying to draw the national flag of Bangladesh. Being smart he knows he has to maintain the correct ratio and measurement while drawing the flag....

2013-05-29 16:18:02

[UVA][動態支配點] 11020 - Efficient Solutions

Problem IEfficient SolutionsInput: Standard InputOutput: Standard Output "Our marriage ceremonies are solemn, sober moments of reflection; also regret, disagreement, argument and mutual recrimi...

2013-05-29 16:12:45

[UVA][SCC] 11324 - The Largest Clique


Problem B: The Largest Clique Given a directed graph G, consider the following transformation. First, create a new graph T(G) to have the same vertex set as G. Create a directed edge betwee...

2013-05-29 15:34:19

[UVA] 12150 - Pole Position


In car races, there is always a high pole next to the finish line of the track. Before the race starts, the pole is used to display the starting grid. The number of the first car in the grid is di...

2013-05-29 15:29:31

[UVA][ad-hoc] 11093 - Just Finish it up

I I U P C 2 0 0 6 Problem J: Just Finish it up Input: standard input Output: standard output Along a circular track, there ar...

2013-05-29 15:16:22

[UVA] 467 - Synching Signals


Synching Signals On your way to work wach morning you travel down a main traffic artery regulated by a number of traffic signals. On some mornings, you have noticed that all of the lights up ahea...

2013-05-29 15:09:15

[UVA][線段樹][區間最大連續和] 1400 - "Ray, Pass me the dishes!"

After doing Ray a great favor to collect sticks for Ray, Poor Neal becomes very hungry. In return for Neal's help, Ray makes a great dinner for Neal. When it is time for dinner, Ray arranges all t...

2013-05-28 23:15:40

[UVA][heap] 10954 - Add All

Problem F Add All Input: standard input Output: standard output Yup!! The problem name reflects your task; just add a set of numbers. But you may feel yourselves condescended, to write a C...

2013-05-28 23:10:40

[UVa] 10019 - Funny Encryption Method

Funny Encryption Method The Problem History : A student from ITESM Campus Monterrey plays with a new encryption method for numbers. These method consist of the following steps: Steps : E...

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