4 条题解

  • 2
    @ 2026-5-31 10:25:33

    #include <bits/stdc++.h>

    using namespace std;

    int main() {

    int n;
    cin >> n;
    if (n % 2 == 0) {
    	int m = n / 2;
    	if (m % 2 == 0) {
    		cout << "YES";
    		return 0;
    	} else {
    		cout << "NO";
    		return 0;
    	}
    } else {
    	cout << "NO";
    	return 0;
    }
    

    }

    信息

    ID
    30937
    时间
    1000ms
    内存
    256MiB
    难度
    6
    标签
    (无)
    递交数
    61
    已通过
    17
    上传者