|
||||||||||
C++ to PythonTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 1010 Accepted Submission(s): 722 Problem Description 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++. Input 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. Output Each test cases print one line of Python code, do not print any space. Sample Input
Sample Output
Source | ||||||||||
|