全部评论 3

  • #include<bits/stdc++.h>
    using namespace std;
    int main(void){
        ios_base::sync_with_stdio(false);
        cin.tie(nullptr);
        int n;
        cin>>n;
        cout<< (n%2?"odd":"even");
        return 0;
    }
    

    2026-03-23 来自 湖北

    1
  • 可可可

    2025-10-15 来自 江苏

    1
  • #include <iostream>
    using namespace std;
    int main(){
    int a;
    cin >> a;

    if (a % 2 == 0){
        cout << "even";
        
    }
    else{
        cout << "odd";
    }
     
    
    
    
    
    return 0;
    

    }

    2026-09-06 来自 四川

    0
暂无数据

提交答案之后,这里将显示提交结果~

首页