题解 1044: [编程入门]三个字符串的排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { char str[3][50]; //定义3个数组 int i,j; …… 题解列表 2022年03月04日 0 点赞 0 评论 431 浏览 评分:0.0
利息计算--简单 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip> // 小数using namespace std;int main(){ double n…… 题解列表 2022年03月04日 0 点赞 0 评论 289 浏览 评分:0.0
Python解决 ——2010辽宁省决赛 摘要:解题思路:1.按照题目要求分别用列表来装数据 2.分别筛选出A和B的交集,以及前者和C的交集的结果,然后用C减去 3.如果这个列表为空,则输出“No enemy spy”,反之,输出列表中的结果。注意…… 题解列表 2022年03月04日 0 点赞 0 评论 330 浏览 评分:0.0
蓝桥杯算法提高VIP-字符串跳步-题解(C++代码) 摘要:#include <iostream> using namespace std; int main() { string temp; cin >> temp; int start, s…… 题解列表 2022年03月04日 0 点赞 0 评论 299 浏览 评分: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 评论 368 浏览 评分:0.0
随便做做,记录 摘要:解题思路:注意事项:参考代码:import java.util.*; public class Main { public static void main(String[] args) {…… 题解列表 2022年03月04日 0 点赞 0 评论 262 浏览 评分:0.0
编写题解 1009: [编程入门]数字的处理与判断--解题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<iostream>using namespace std;int main (){ long int a,tem…… 题解列表 2022年03月04日 0 点赞 0 评论 295 浏览 评分:0.0
bfs+dfs(判断是否是关键点) 摘要:解题思路: 1.用bfs求出图的start 和 target 最短路径,因为要求关键点就是求start 到 target 路径上的关键点 2.用dfs判断路径上的点是否…… 题解列表 2022年03月04日 0 点赞 0 评论 280 浏览 评分:0.0
自定义函数求一元二次方程 摘要:解题思路:注意事项:参考代码:def dayu(b,c,d): g = (-c + f) / (2 * b) h = (-c - f) / (2 * b) print("x1={:.…… 题解列表 2022年03月04日 0 点赞 0 评论 415 浏览 评分:0.0
编写题解 1013: [编程入门]Sn的公式求和--解题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){ int n,An=0,Sn=0; scanf("%d",&n); while(n!=0){ …… 题解列表 2022年03月04日 0 点赞 0 评论 338 浏览 评分:0.0