5 条题解

  • 2
    @ 2026-2-4 11:30:55

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

    • 2
      @ 2026-2-4 11:19:19

      78

      • 1
        @ 2026-3-20 22:16:19

        //给定一个整数,判断该数是奇数还是偶数。如果n是奇数,输出odd; //如果n是偶数,输出even。 #include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; if(n%21){ cout<<"odd"<<endl; }if(n%20){ cout<<"even"<<endl; } }

        • 1
          @ 2026-2-4 11:31:28

          ;‘i;ol’; ‘L/。 ’买了很快就会联盟伙伴,吗。

          • 1
            @ 2025-11-29 10:43:06

            iu会毫不预备公益财团法人CRT对他人的呢

            • 1

            信息

            ID
            636
            时间
            1000ms
            内存
            128MiB
            难度
            3
            标签
            递交数
            96
            已通过
            55
            上传者