mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-24 03:31:59 +00:00
P3150 pb的游戏(1)
R40073088
This commit is contained in:
parent
8188ec2996
commit
0109c1cf92
18
problem/P3150/P3150.cpp
Normal file
18
problem/P3150/P3150.cpp
Normal file
@ -0,0 +1,18 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
int n, t;
|
||||
cin >> n;
|
||||
while (n--) {
|
||||
cin >> t;
|
||||
if (t % 2 == 0) {
|
||||
cout << "pb wins" << endl;
|
||||
}
|
||||
else {
|
||||
cout << "zs wins" << endl;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user