非常好异或,这使我的代码变简洁
2024-01-31 23:28:01
发布于:湖南
86阅读
0回复
0点赞
#include <iostream>
#include <cstdio>
using namespace std;
bool mth[] = {0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1};
int main(){
	int n, m;
	cin >> n >> m;
	if(!(mth[n] ^ m % 2)) cout << "Play!";
	else cout << "Oh!No!";
	return 0;
}
这里空空如也







有帮助,赞一个