测试正确,为啥0分
查看原帖
测试正确,为啥0分
632495
21csy楼主2021/12/11 23:59
#include<iostream>
using namespace std;
int main() {
	int x;
	cin>>x;
	if(x==1 || x==0)
	   cout<<"Today,I ate"<<" "<<x<<" "<<"apple"<<endl;
	else
	    cout<<"Today,I ate"<<" "<<x<<" "<<" apples"<<endl;
	return 0;	   
}
2021/12/11 23:59
加载中...