General
 
 
# Author Problem Lang Verdict Time Memory Sent Judged  
130557562 Practice:
Anjali_2001
1567B - 36 Python 3 Accepted 202 ms 9224 KB 2021-10-02 14:51:31 2021-10-02 14:51:31
→ Source
for s in[*open(0)][1:]:a,b=map(int,s.split());x=(0,a-1,1,a)[a%4];print(a+(b!=x)+(b^x==a))
?
Time: ? ms, memory: ? KB
Verdict: ?
Input
?
Participant's output
?
Jury's answer
?
Checker comment
?
Diagnostics
?
Click to see test details