P3150 pb的游戏(1)

AC代码

#include<bits/stdc++.h>
using namespace std;

long long n,a[100010];

int main(){
	cin>>n;
	for(int i=1;i<=n;i++)cin>>a[i];

	for(int i=1;i<=n;i++){
		if(a[i]%2==0) cout<<"pb wins"<<endl;
		else cout<<"zs wins"<<endl;
	}

	return 0;
}
posted @ 2020-08-26 15:38  panjoel  阅读(19)  评论(0)    收藏  举报