3 条题解

  • 1
    @ 2024-11-23 10:40:23
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    	long long a;
    	cin>>a;
    	if(a%2==0) cout<<"even";
    	if(a%2!=0) cout<<"odd";
    	return 0;
    }
    
    • 0
      @ 2025-10-6 9:53:18

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

      • 0
        @ 2024-11-16 21:51:34

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

        • 1

        信息

        ID
        471
        时间
        1000ms
        内存
        128MiB
        难度
        3
        标签
        递交数
        33
        已通过
        21
        上传者