#include<iostream>
using namespace std;
int main()
{
long long int a=0,b=0,c=0;
cin>>a;
for(int i=0;i<=a;i++)
{
int sum=0;
cin>>b>>c;
sum=2-min(b,c)*2;
cout<<sum;
}
return 0;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
2 ms |
364 KB |
Output isn't correct |
2 |
Incorrect |
1 ms |
364 KB |
Output isn't correct |
3 |
Incorrect |
1 ms |
364 KB |
Output isn't correct |
4 |
Incorrect |
1 ms |
364 KB |
Output isn't correct |
5 |
Incorrect |
1 ms |
364 KB |
Output isn't correct |
6 |
Incorrect |
88 ms |
492 KB |
Output isn't correct |
7 |
Incorrect |
131 ms |
620 KB |
Output isn't correct |
8 |
Incorrect |
91 ms |
648 KB |
Output isn't correct |
9 |
Incorrect |
135 ms |
620 KB |
Output isn't correct |
10 |
Incorrect |
96 ms |
620 KB |
Output isn't correct |