2 条题解

  • 2
    @ 2022-5-28 16:16:20

    就说为什么一直红一个点

    using namespace std;
    int main()
    {
      int a,b,c;
      cin>>a;
      if(a%2==0 and a!=2){
      	cout<<"YES, you can divide the watermelon into two even parts."<<endl;
      }else{
      	cout<<"NO, you can't divide the watermelon into two even parts."<<endl;
      }
      return 0;
    }
    

    气死偶咧!!!

    2不是偶数!

    • @ 2022-8-15 19:17:50

      ???为什么2不是偶数??

  • 0
    @ 2022-8-15 19:19:47
    using namespace std;
    int main(){
      int a,b,c;
      cin>>a;
      if(a%2==0 && a!=2){
      	cout<<"YES, you can divide the watermelon into two even parts.";
      }else{
      	cout<<"NO, you can't divide the watermelon into two even parts.";
      }
      return 0;
    }
    

    我解释不清2不是偶数的道理。

    • 1

    信息

    ID
    26
    时间
    1000ms
    内存
    256MiB
    难度
    6
    标签
    递交数
    221
    已通过
    63
    上传者