题库练习 A polyline
← 上一题 下一题 →

A8556 | A polyline

时间限制1s
内存限制256MB
通过 / 提交0/0

题目描述

![](/uploads/acgo/image/e1bb8df0f6915866_3e57d9eb924b.jpeg)

输入格式

The input contains two integers $a,b$ ( $1<=a<=10,0<=b<=2^{2·a}-1$ ) separated by a single space.

输出格式

Output two integers separated by a single space.

输入输出样例

输入 #1
1 0
输出 #1
0 0
输入 #2
2 15
输出 #2
3 0
输入 #3
4 160
输出 #3
12 12
C++ 编辑器
输入
输出