#include<iostream>
using namespace std;
int main()
{
long long int a=0,b=0,c=0;
cin>>a;
while(a--)
{
int sum=0;
cin>>b>>c;
sum=2-min(b,c)*2;
cout<<sum;
}
return 0;
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
1 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 |
86 ms |
492 KB |
Output isn't correct |
7 |
Incorrect |
132 ms |
748 KB |
Output isn't correct |
8 |
Incorrect |
91 ms |
492 KB |
Output isn't correct |
9 |
Incorrect |
136 ms |
748 KB |
Output isn't correct |
10 |
Incorrect |
92 ms |
492 KB |
Output isn't correct |