Amusing numbers are numbers consisting only of digits 5 and 6.Given an integer k , display the kth amusing number.
Amusing numbers are numbers consisting only of digits 5 and 6.Given an integer k , display the kth amusing number.
FIrst line consists of integer N representing number of test cases
Next N lines consist of N integers (1<=k<=10^15)
N lines each displaying corresponding kth amusing number.
2
1
5
5
65
Anything about this OnlineJudge, Please Contact Administrator. Click add QQ
OJ system based on HUSTOJ Project , UI based on Twitter Bootstrap
Copyright 2016 ACM算法攻关部cnt: 52667
关于网站改版