不算排序吧
#include <iostream>
using namespace std;
int n, x, y;
int main ( ) {
while ( cin >> n ) {
while ( n-- ) {
cin >> x >> y;
if ( x == y ) {
if ( x % 2 == 0 ) cout << x + y << endl;
else cout << x + y - 1 << endl;
}
else if ( x - y == 2 ) {
if ( x % 2 == 0 ) cout << x + y << endl;
else cout << x + y - 1 << endl;
}
else {
cout << "No Number" << endl;
}
}
}
}