WHY???
查看原帖
WHY???
794484
huanglihuan楼主2023/10/20 20:29
#include <bits/stdc++.h>
#include <cstdio>
using namespace std;

long long n;
string y = "YES", o = "NO";

int main ()
{
	cin >> n;
	if (n % 2 != 0)
	    cout << o;
	else
	    if (n / 2 % 2 == 0)
	        cout << y;
	    else
	        cout << n;
	return 0;
}

2023/10/20 20:29
加载中...