结果一样,但给错,为什么,求解
查看原帖
结果一样,但给错,为什么,求解
1470144
ma_wen_hao楼主2024/10/1 17:41

自己内运行没一点错,可就是60分过不去了,崩,球为什么。``` #include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x==1 && x==0)cout<<"Today, I ate "<<x<<" apple."; else cout<<"Today, I ate "<<x<<" apples."; return 0; }

2024/10/1 17:41
加载中...