版本比较
+2 −2增加 2 行删除 2 行
59 行未改动60616263646564656667686959 行未改动signed main(){ cin >> t; while (t--){ cin >> n >> x; cout << (x-1) % (n * 2 + 1) % 2<< endl; } cout << (x-1) % (n * 2 + 1) % 2<< endl; } return 0;} ```