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; +}