Codeforces 959A Mahmoud and Ehab and the even-odd game

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/polanwind/article/details/83854578

水就完事了!

判断奇偶。

#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <cstdio>
#include <math.h>
#include <string>

using namespace std;



int main() {
	int n;
	scanf("%d", &n);
	if (n % 2 == 0) {
		printf("Mahmoud\n");
	}
	else {
		printf("Ehab\n");
	}
	//system("pause");
	return 0;
}

猜你喜欢

转载自blog.csdn.net/polanwind/article/details/83854578
今日推荐