2 条题解

  • 1
    @ 2026-1-1 9:21:59
    #include<bits/stdc++.h>
    #define int long long
    using namespace std;
    int n; 
    signed main(){
    	cin>>n;
    	cout<<(n%2==0&&n>=4?"YES":"NO");
    	return 0;
    }
    
    • 1
      @ 2025-12-14 21:21:39
      #include <bits/stdc++.h>
      using namespace std;
      #define int long long
      int n;
      signed main(){
      	cin>>n;
      	if(n==2){
              cout<<"NO";
          }else if(n%2==0){
              cout<<"YES";
          }else {
          	cout<<"NO";
      	}
      	return 0;
      }
      
      
      • 1

      信息

      ID
      608
      时间
      1000ms
      内存
      16MiB
      难度
      3
      标签
      (无)
      递交数
      118
      已通过
      64
      上传者