標籤
- C
- android
- Objective-c
- Sort
- BlueTooth
- Python
- 133
- Apache
- ArrayList
- BluetoothChat
- C sharp
- C#
- CVS
- CheckBox
- Closest Pair
- Console.ReadLine
- HashMap
- NFC
- NSDocumentDirectory
- NSString
- Pandaboard
- SQLite
- UIAlertController
- VB
- Xcode6
- driver
- execSQL
- gatt error
- httpd.conf
- office
- primie check
- property
- sharedApplication
- 小小問題
2015年9月23日 星期三
Two floating numbers 四捨五入
Input two floating numbers X and P.
a. 0 < X <1
b. P = 1 / 0.1 / 0.01/ 0.001
c. answer format %.4f
ex:
if X is 0.5678 and P is 0.01, then the answer is 0.5700
if X is 0.1269 and P is 0.1, then the answer is 0.1000
2015年9月17日 星期四
C int mapping string
Encoding scheme defined by the following mapping:
1->'A',
2->'B',
3->'C',
...,
9->'I',
0->'J'.
Input A three-digit integer N
Output The encoding result
訂閱:
文章 (Atom)