B2037求解
  • 板块灌水区
  • 楼主Starry_dream
  • 当前回复11
  • 已保存回复11
  • 发布时间2023/8/24 13:19
  • 上次更新2023/11/3 01:33:18
查看原帖
B2037求解
818820
Starry_dream楼主2023/8/24 13:19

我N虽然是蒟蒻,但也不至于没拿满分!为什么

#include<bits/stdc++.h>
using namespace std;

int main()
{
	int n;
	cin>>n;
	if(n%2==1)
	{
		cout<<"odd";
	}
	else{
		cout<<"even";
	}
	return 0;
}

2023/8/24 13:19
加载中...