// http://www.spoj.com/problems/HUBULLU/
// Because 1 is all numbers’ divisor.
// So, the first people can choose ‘1’ with all other numbers.
#include <iostream>
using namespace std;
void f() {
int n;
cin >> n;
int name;
cin >> name;
if (name == 0) {
cout << "Airborne wins." << endl;
} else {
cout << "Pagfloyd wins." << endl;
}
}
int main() {
int t;
cin >> t;
while(t-- > 0) {
f();
}
}
SPOJ HUBULLU
最新推荐文章于 2022-08-23 16:32:57 发布