编写题解 2784: 收集瓶盖赢大奖 摘要:解题思路:定义了两个变量a和b来记录拥有的瓶盖数量。然后,我们使用if语句来检查是否可以兑换大奖。如果a大于等于10或b大于等于20,则可以兑换大奖,输出1;否则,不能兑换大奖,输出0。注意事项:参考…… 题解列表 2023年04月15日 0 点赞 0 评论 262 浏览 评分:9.9
收集瓶盖赢大奖 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,m; scanf("%d%d",&n,&m); if(n>=10 ||…… 题解列表 2023年01月14日 0 点赞 0 评论 183 浏览 评分:0.0
2784: 收集瓶盖赢大奖 摘要:```cpp #include using namespace std; int main() { int a,b; cin>>a>>b; if(a>=10||b…… 题解列表 2023年01月13日 0 点赞 0 评论 207 浏览 评分:9.9
收集瓶盖赢大奖 摘要:解题思路:就是简单的判断注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d",&a,&b); if(a>=10||…… 题解列表 2022年11月11日 0 点赞 0 评论 758 浏览 评分:9.9
收集瓶盖赢大奖 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; if(a>=…… 题解列表 2022年11月01日 0 点赞 1 评论 466 浏览 评分:9.9