78 人解决,123 人已尝试。
103 份提交通过,共有 372 份提交。
4.3 EMB 奖励。
单点时限: 2.0 sec
内存限制: 256 MB
You enjoy working with numbers that contain only square digits (namely, 0, 1, 4 and 9). The sequence containing only these digits is 0, 1, 4, 9, 10, 11, 14… output the N-th term (indexed from 0) in this sequence.
There are several test cases,each test case contain only a integer N(0<=N<=2^31-1).
output the N-th term (indexed from 0) in this sequence.
16 123
100 1949
78 人解决,123 人已尝试。
103 份提交通过,共有 372 份提交。
4.3 EMB 奖励。
创建: 17 年,6 月前.
修改: 8 年,1 月前.
最后提交: 3 天,15 小时前.
来源: N/A