Content
:
正體->简体
Input
:
每個測資點有多筆測資,請以EOF作為結束。
每組測資一行,有整數n(0<=n<=511),表示要轉換成八進位的數字
最後出現小於0的整數表示測資結束。
<所有出現的整數皆可以signed 32-bits int儲存>
Output
:
Sample Input
:
277 511 123 456 -1
Sample Output :
425 777 173 710 -1
Hint
:
1.進位制轉換
2.共三個測資點30%、35%、35%,
第一個測資點即範例測資。
Author
: