编写题解 2784: 收集瓶盖赢大奖
摘要:解题思路:定义了两个变量a和b来记录拥有的瓶盖数量。然后,我们使用if语句来检查是否可以兑换大奖。如果a大于等于10或b大于等于20,则可以兑换大奖,输出1;否则,不能兑换大奖,输出0。注意事项:参考……
题解 2784: 收集瓶盖赢大奖
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; if(a>=……
题解 2784: 收集瓶盖赢大奖
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; if(a>=……
编写题解 2784 收集瓶盖赢大奖
摘要:解题思路:注意事项:参考代码:a,b=map(int,input().split(" "))if a>=10 or b>=20: print('1')else: print……
C++2784开瓶盖赢大奖题解
摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ int a;cin >>a; if (a>=10||a>=20) { ……
感谢支持,谢谢你们的支持
摘要:解题思路:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; if(a>=10||b>=2……