编写题解 2784 收集瓶盖赢大奖 摘要:解题思路:注意事项:参考代码:a,b=map(int,input().split(" "))if a>=10 or b>=20: print('1')else: print…… 题解列表 2024年04月12日 0 点赞 0 评论 464 浏览 评分:9.9
暴力画矩形 【简单易懂】 摘要:#include <iostream> #include <cmath> using namespace std; /* 画矩形 */ int main() { // …… 题解列表 2024年04月12日 1 点赞 0 评论 186 浏览 评分:0.0
蓝桥杯算法训练VIP-整数平均值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100]; int i; int b; int c=0; scanf("%…… 题解列表 2024年04月12日 0 点赞 0 评论 229 浏览 评分:0.0
最长单词2,简单方法 摘要:解题思路:从找到第一个字母开始计数,并记录位置,直到找到空格或者‘。’,不断更新注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef…… 题解列表 2024年04月12日 1 点赞 0 评论 458 浏览 评分:9.9
字串简写——前缀和+回溯 摘要:#include<bits/stdc++.h>#include<cstdio> #include<cstring>using namespace std;typedef long long LL;LL…… 题解列表 2024年04月12日 2 点赞 0 评论 519 浏览 评分:0.0
1130: C语言训练 数字母 ctype快速计数 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> #include <math.h> #include <stdlib.h> #inc…… 题解列表 2024年04月12日 0 点赞 0 评论 275 浏览 评分:0.0
较简单的思路 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int N,a[100],b[100]; scanf_s("%d", &N); int i,j; int ma…… 题解列表 2024年04月12日 0 点赞 0 评论 256 浏览 评分:0.0
小白随便写的,记录一下 摘要:> 由递推关系式可知 f(n) = f(n - 1)+ f(n - 3) > > 数据范围不大时可以开一个数组把所有可能的输入对应的 f(n) 求出 (就是打表嘛) > > 数据范围大时可以考…… 题解列表 2024年04月12日 0 点赞 0 评论 454 浏览 评分:0.0
简单的暴力解决冶炼金属问题 摘要:解题思路:最大转化率就是min(金属O/金属X),只需遍历求出最大转化率,然后对最大转换率依次做减一操作评判是否满足即可注意事项:参考代码:#include<iostream>#include<vec…… 题解列表 2024年04月12日 1 点赞 0 评论 682 浏览 评分:9.9