1 条题解

  • 1
    @ 2025-2-26 19:54:41

    但凡是瓷的子民都会做的一道题

    上音乐(划掉)代码

    音乐:一生长……

    诶不是?

    你不是让我上音乐吗?

    我还以为你蛋仔想打巅峰拿全国呢!

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

    信息

    ID
    803
    时间
    1000ms
    内存
    128MiB
    难度
    4
    标签
    (无)
    递交数
    18
    已通过
    17
    上传者