PGM 為 Portable GrayMap的縮寫。PGM 檔案為黑白的圖片,亦即每個像素只差在亮度的深淺而已。

PGM 檔案 能夠以純文字或是位元碼儲存。

awesq123 發表在 痞客邦 留言(0) 人氣()

1 // 1 test case

7 10 4   // row    column   number of pairs

awesq123 發表在 痞客邦 留言(0) 人氣()

Give you number 'N'.

Print the sum of

awesq123 發表在 痞客邦 留言(0) 人氣()

Give you a number then you should to test whether it is a multiple of 9.

e.g.

awesq123 發表在 痞客邦 留言(0) 人氣()

--------
package uva10190;

awesq123 發表在 痞客邦 留言(0) 人氣()

Give you two binary string.

If the greatest common devisor is greater than 1 then print "Pair #1: All you need is love!" (1 stands for index of cases).

awesq123 發表在 痞客邦 留言(0) 人氣()

2   // 2 test cases

14  // 14 days

awesq123 發表在 痞客邦 留言(0) 人氣()

1. Uses the hashmap to map the character to its ink cost.

2. Store the ink cost for all bases of a certain number in array list.

awesq123 發表在 痞客邦 留言(0) 人氣()

Give you a decimal number.

Calculate how many '1' in its binary string.

awesq123 發表在 痞客邦 留言(0) 人氣()

給你一數字

e.g. 265

awesq123 發表在 痞客邦 留言(0) 人氣()