[python]自定义函数之字符类型统计 摘要:解题思路:注意事项:参考代码:my_str = input() letter = 0 num = 0 space = 0 other = 0 for i in my_str: if…… 题解列表 2023年08月18日 0 点赞 0 评论 262 浏览 评分:0.0
又是一个动态规划的题 摘要:#include<iostream> using namespace std; int main() { string s; while(getline(cin,s)) …… 题解列表 2023年08月18日 0 点赞 0 评论 366 浏览 评分:0.0
蓝桥杯2023年第十四届省赛真题-翻转 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; #define ll long long void solve(){ …… 题解列表 2023年08月18日 0 点赞 0 评论 1139 浏览 评分:9.9
1303: 统计数字(C++ STL) 摘要:# STL map ```c++ #include #include #include #include #include using namespace std; mapnums; …… 题解列表 2023年08月18日 0 点赞 0 评论 444 浏览 评分:0.0
1177: 三角形,C++动态规划实现 摘要:#1177: 三角形,C++动态规划实现 ####题目描述: [题目 1177: 三角形](https://www.dotcpp.com/oj/problem1177.html "题目 1177:…… 题解列表 2023年08月18日 0 点赞 0 评论 489 浏览 评分:0.0
用二维数组思想打印dna 摘要:解题思路:注意事项:需要单独打印第一行,否则出现的DNA会有重复部分参考代码:#include<stdio.h>int main(){ int i,j,a,b,n; scanf("%d",&n); w…… 题解列表 2023年08月18日 0 点赞 0 评论 363 浏览 评分:0.0
[python]母牛的故事 摘要:解题思路: 可以把母牛分成四类:成年(可产仔的)牛,一年牛,二年牛,三年牛 后三者每过一年会往后升一级,如一年牛变二年牛,二年牛变三年牛,三年牛变成年牛 …… 题解列表 2023年08月19日 1 点赞 0 评论 901 浏览 评分:9.0
迭代法求平方根,逐句讲解 摘要:参考代码:#include <stdio.h>#include <math.h>// 定义一个宏,用于计算两个数之间的差的绝对值#define ABS(x) ((x) > 0 ? (x) : -(x)…… 题解列表 2023年08月19日 0 点赞 0 评论 389 浏览 评分:9.9
[编程入门]超精简28行代码解决(容易理解) 摘要:解题思路:使用结构指针存放信息注意事项:参考代码:struct stu { char xh[10]; char xm[10]; int xf[3]; }; char …… 题解列表 2023年08月19日 0 点赞 0 评论 281 浏览 评分:4.0
自定义函数求一元二次方程 摘要:解题思路:注意事项:参考代码:#include<math.h>#include<complex.h>int main(){ double a,b,c,d; double complex t…… 题解列表 2023年08月19日 0 点赞 0 评论 422 浏览 评分:9.9