2 条题解

  • 1
    @ 2025-2-11 19:02:06
    #include<bits/stdc++.h>
    #define yy return 0;
    using namespace std;
    int main(){
        int n;cin>>n;     
        if(n%2) cout<<"odd";
        else cout<<"even";
        yy
    }
    • 0

      #include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; if(n%2==0) { cout<<"even"; } else { cout<<"odd"; } }

      • 1

      信息

      ID
      4487
      时间
      1000ms
      内存
      128MiB
      难度
      1
      标签
      (无)
      递交数
      197
      已通过
      113
      上传者