编写题解 1237: 求组合数 摘要:解题思路:注意事项:参考代码:def get(x): s= 1 for i in range(1,x+1): s *= i return s 题解列表 2022年03月04日 0 点赞 0 评论 514 浏览 评分:9.9
自定义函数求一元二次方程 摘要:解题思路:注意事项:参考代码:def dayu(b,c,d): g = (-c + f) / (2 * b) h = (-c - f) / (2 * b) print("x1={:.…… 题解列表 2022年03月04日 0 点赞 0 评论 511 浏览 评分:0.0
编写题解 1235: 检查金币 摘要:解题思路:注意事项:参考代码:while True: try: n=int(input()) for a in range(9,12): &nb 题解列表 2022年03月04日 0 点赞 1 评论 425 浏览 评分:4.0
bfs+dfs(判断是否是关键点) 摘要:解题思路: 1.用bfs求出图的start 和 target 最短路径,因为要求关键点就是求start 到 target 路径上的关键点 2.用dfs判断路径上的点是否…… 题解列表 2022年03月04日 0 点赞 0 评论 402 浏览 评分:0.0
编写题解 1009: [编程入门]数字的处理与判断--解题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<iostream>using namespace std;int main (){ long int a,tem…… 题解列表 2022年03月04日 0 点赞 0 评论 394 浏览 评分:0.0
随便做做,记录 摘要:解题思路:注意事项:参考代码:import java.util.*; public class Main { public static void main(String[] args) {…… 题解列表 2022年03月04日 0 点赞 0 评论 363 浏览 评分:0.0
编写题解 1236: 母牛生小牛 摘要:解题思路:注意事项:参考代码:两种解法n=int(input()) ls=[1,1,1] if n <=3: print(1) else: for i in range(n-…… 题解列表 2022年03月04日 0 点赞 0 评论 463 浏览 评分:0.0
蓝桥杯算法提高VIP-删除数组中的0元素(c伪删除) 摘要:```cpp #include #include #include #include #include using namespace std; int main() { in…… 题解列表 2022年03月04日 0 点赞 0 评论 981 浏览 评分:9.9
蓝桥杯算法提高VIP-字符串跳步-题解(C++代码) 摘要:#include <iostream> using namespace std; int main() { string temp; cin >> temp; int start, s…… 题解列表 2022年03月04日 0 点赞 0 评论 406 浏览 评分:0.0
1035: [编程入门]自定义函数之字符类型统计 摘要:解题思路:和 1012: [编程入门]字符串分类统计 一模一样,区别只是本题要写子函数。1012题链接:https://blog.dotcpp.com/a/84267注意事项:maxSize一开始设…… 题解列表 2022年03月04日 0 点赞 0 评论 752 浏览 评分:9.5