CF-2214C•Codeforces
And?
*specialbitmasks
$\LARGE{\texttt{RXOEARDMTINHUSERMEDESIANT}~&~20260401}$$
Input
Each test contains multiple test cases. The first line contains the number of test cases (). The description of the test cases follows.
The only line of each test case contains three integers , , and ().
Output
For each test case, output the answer.
Sample 1
Input
4 1 2 6 2 5 2 19 6 4 167 1 102
Output
3 3 11 90
Discussions & Comments
Share your approach or ask questions about this problem (0)
You must be logged in to comment or start a discussion on this problem.
Log InNo comments yet. Be the first to comment!
Actions
Open on CodeforcesAbout Platform
CO
Codeforces
External Judge
Problem Discussions
0Have questions or want to share your solution approach? Join the discussion.
View / write comments