1 条题解

  • 1
    @ 2024-4-5 18:17:43

    这道题其实很简单! 代码如下:

    #include<bits/stdc++.h>
    using namespace std;
    int main(){
    	int a,b;
    	cin>>a>>b; 
    	if(a==1){
    		cout<<"Today, I ate "<<a<<" apple.";
    		return 0;
    	}
    	cout<<"Today, I ate "<<a<<" apples.";
    	return 0;
    }
    

    信息

    ID
    16
    时间
    1000ms
    内存
    256MiB
    难度
    7
    标签
    递交数
    347
    已通过
    68
    上传者