题目描述
Kayzin's repository has lots of code in C++, but Aba aba can only understand Python code. So Aba aba calls you for help.
The only things you should do is using (...) in Python to match std::make_tuple(...) in C++.
输入解释
First line has one integer $T$, indicates $T$ test cases. In each case:
First line has string $s$, indicates C++ code.
The C++ code only contains std::make_tuple, "(", ")", "," and integers, without space.
$1\le T \le 100$, the length of $s$ not exceeds 1000.
输出解释
Each test cases print one line of Python code, do not print any space.
输入样例
2
std::make_tuple(-2,3,3,std::make_tuple(3,3))
std::make_tuple(std::make_tuple(1,1,4,5,1,4))
输出样例
(-2,3,3,(3,3))
((1,1,4,5,1,4))
最后修改于
2022-09-15T06:17:02+00:00
由爬虫自动更新
共提交
0
次
通过率
--%