The input contains two integers a,b (1≤a≤10,0≤b≤22·a-1) separated by a single space.
Output two integers separated by a single space.
1 0
0 0
2 15
3 0
4 160
12 12
登录后提交代码,查看评测结果并记录练习进度。
注册一个 d&f算法网 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。
使用您的 d&f算法网 通用账户