题解 2791: 计算邮资 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; char b; scanf("%d %c", &a, &b); if (…… 题解列表 2023年08月17日 0 点赞 0 评论 425 浏览 评分:0.0
题解 2792: 三角形判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a, b, c; scanf("%d %d %d", &a, &b, &c); if …… 题解列表 2023年08月17日 0 点赞 0 评论 647 浏览 评分:9.9
题解 2794: 求平均年龄 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define N 100int main(){ int n, age[N]; int i, sum=0; float…… 题解列表 2023年08月17日 0 点赞 0 评论 499 浏览 评分:6.0
3150: 蓝桥杯2023年第十四届省赛真题-冶炼金属 摘要:解题思路:其实这是一道数学题,根据给出的样例进行计算,比如75 3 这组,所求V在V*3>=75并且V*4<75,分别向上取整和向下取整就能获得这组的最大最小,一共n组,在这n组中向上取整的取最大值,…… 题解列表 2023年08月17日 0 点赞 0 评论 689 浏览 评分:4.0
题解 2807 YHLX 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include <math.h>int main(){ int R, Y; long int M; scanf("%…… 题解列表 2023年08月17日 0 点赞 0 评论 530 浏览 评分:6.0
被3整除的子序列(动态规划) 摘要:解题思路:建立dp[i][j],代表以i结尾,余数是j的所有子序列, 转移方程:dp[i][k]=∑dp[j][w];(if(w+s[i])%3==k) dp[i][k]…… 题解列表 2023年08月17日 0 点赞 0 评论 460 浏览 评分:9.9
[python]自定义函数之字符类型统计 摘要:解题思路:注意事项:参考代码:my_str = input() letter = 0 num = 0 space = 0 other = 0 for i in my_str: if…… 题解列表 2023年08月18日 0 点赞 0 评论 327 浏览 评分:0.0
又是一个动态规划的题 摘要:#include<iostream> using namespace std; int main() { string s; while(getline(cin,s)) …… 题解列表 2023年08月18日 0 点赞 0 评论 437 浏览 评分:0.0
蓝桥杯2023年第十四届省赛真题-翻转 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; #define ll long long void solve(){ …… 题解列表 2023年08月18日 0 点赞 0 评论 1249 浏览 评分:9.9
1303: 统计数字(C++ STL) 摘要:# STL map ```c++ #include #include #include #include #include using namespace std; mapnums; …… 题解列表 2023年08月18日 0 点赞 0 评论 505 浏览 评分:0.0