1177: 三角形,C++动态规划实现 摘要:#1177: 三角形,C++动态规划实现 ####题目描述: [题目 1177: 三角形](https://www.dotcpp.com/oj/problem1177.html "题目 1177:…… 题解列表 2023年08月18日 0 点赞 0 评论 579 浏览 评分:0.0
1303: 统计数字(C++ STL) 摘要:# STL map ```c++ #include #include #include #include #include using namespace std; mapnums; …… 题解列表 2023年08月18日 0 点赞 0 评论 521 浏览 评分:0.0
蓝桥杯2023年第十四届省赛真题-翻转 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; #define ll long long void solve(){ …… 题解列表 2023年08月18日 0 点赞 0 评论 1267 浏览 评分:9.9
又是一个动态规划的题 摘要:#include<iostream> using namespace std; int main() { string s; while(getline(cin,s)) …… 题解列表 2023年08月18日 0 点赞 0 评论 450 浏览 评分:0.0
[python]自定义函数之字符类型统计 摘要:解题思路:注意事项:参考代码:my_str = input() letter = 0 num = 0 space = 0 other = 0 for i in my_str: if…… 题解列表 2023年08月18日 0 点赞 0 评论 341 浏览 评分:0.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 评论 479 浏览 评分:9.9
题解 2807 YHLX 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include <math.h>int main(){ int R, Y; long int M; scanf("%…… 题解列表 2023年08月17日 0 点赞 0 评论 543 浏览 评分:6.0
3150: 蓝桥杯2023年第十四届省赛真题-冶炼金属 摘要:解题思路:其实这是一道数学题,根据给出的样例进行计算,比如75 3 这组,所求V在V*3>=75并且V*4<75,分别向上取整和向下取整就能获得这组的最大最小,一共n组,在这n组中向上取整的取最大值,…… 题解列表 2023年08月17日 0 点赞 0 评论 707 浏览 评分:4.0
题解 2794: 求平均年龄 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define N 100int main(){ int n, age[N]; int i, sum=0; float…… 题解列表 2023年08月17日 0 点赞 0 评论 508 浏览 评分:6.0
题解 2792: 三角形判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a, b, c; scanf("%d %d %d", &a, &b, &c); if …… 题解列表 2023年08月17日 0 点赞 0 评论 665 浏览 评分:9.9