2784: 收集瓶盖赢大奖 解题思路:注意事项:n,m分别是幸运和鼓励的数量,题目说拥有10个幸运说明是要等于10,加之样例给出的11可以推出幸运数可以大于/小于10,因此是大于等于10(即n>=10)鼓励数同理参考代码:#includeusingnamespacestd;intmain(){intn, 题解列表 2026年09月09日 0 点赞 0 评论 38 浏览 评分:0.0
C++简单解法 摘要:解题思路:属于基础题目注意事项:参考代码:#include<iostream>using namespace std;int main(void){ i…… 题解列表 2025年03月05日 0 点赞 0 评论 541 浏览 评分:0.0
2784普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,m; scanf("%d%d",&n,&m); if (n >=10 || m>=20) prin…… 题解列表 2024年11月23日 0 点赞 0 评论 543 浏览 评分:0.0
C++2784开瓶盖赢大奖题解 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ int a;cin >>a; if (a>=10||a>=20) { …… 题解列表 2024年11月10日 1 点赞 0 评论 453 浏览 评分:9.9
2784: 收集瓶盖赢大奖 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; if(a/10>=1…… 题解列表 2024年05月05日 0 点赞 0 评论 440 浏览 评分:0.0
编写题解 2784 收集瓶盖赢大奖 摘要:解题思路:注意事项:参考代码:a,b=map(int,input().split(" "))if a>=10 or b>=20: print('1')else: print…… 题解列表 2024年04月12日 0 点赞 0 评论 767 浏览 评分:9.9
java--study||O.o 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) …… 题解列表 2024年01月06日 0 点赞 0 评论 765 浏览 评分:9.9
题解 2784: 收集瓶盖赢大奖 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; …… 题解列表 2023年12月23日 0 点赞 0 评论 469 浏览 评分:0.0
题解 2784: 收集瓶盖赢大奖 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; if(a>=…… 题解列表 2023年12月23日 0 点赞 0 评论 511 浏览 评分:9.9