1 条题解

  • 1
    @ 2024-9-7 20:22:21
    #include<iostream>
    using namespace std;
    int x;
    int main(){
        cin>>x;
        if(x==0)//特判!是的你没猜错,编者又双被坑了QWQ
            cout<<"Today, I ate 0 apple.";
        else if(x==1)
            cout<<"Today, I ate 1 apple.";
        else
            cout<<"Today, I ate "<<x<<" apples.";
        return 0;
    }//by Royal
    
    • 1

    信息

    ID
    225
    时间
    1000ms
    内存
    256MiB
    难度
    10
    标签
    (无)
    递交数
    4
    已通过
    1
    上传者