#include <iostream>#include <cstdlib>#include <cstdio>#include <cstring>using namespace std;int main(){ int t; scanf("%d", &t); while (t--) { int x, y; scanf("%d%d", &x, &y); if (!((x == y) || (x - y == 2))) { puts("No Number"); continue; } if ((x == y) ^ ((x + y) % 4 != 0)) printf("%dn", x + y); else printf("%dn", x + y - 1); } return 0;}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)