From 0109c1cf92626aaa20b9a950a09fcfe1e7a5a00c Mon Sep 17 00:00:00 2001 From: Ren Baoshuo Date: Sun, 18 Oct 2020 21:22:42 +0800 Subject: [PATCH] =?UTF-8?q?P3150=20pb=E7=9A=84=E6=B8=B8=E6=88=8F(1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit R40073088 --- problem/P3150/P3150.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 problem/P3150/P3150.cpp diff --git a/problem/P3150/P3150.cpp b/problem/P3150/P3150.cpp new file mode 100644 index 00000000..f7312a63 --- /dev/null +++ b/problem/P3150/P3150.cpp @@ -0,0 +1,18 @@ +#include + +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; +}