编写题解 1951: 求平方和 摘要:解题思路:注意事项:参考代码:a = input()b = a.split(" ")c = (int(b[0]) * int(b[0]) + int(b[1]) * int(b[1]))print(c…… 题解列表 2022年06月16日 0 点赞 0 评论 342 浏览 评分:0.0
编写题解 1003: [编程入门]密码破译 摘要:解题思路:注意事项:参考代码:a = ['C', 'h', 'i', 'n', 'a']c = []for i in a…… 题解列表 2022年06月16日 0 点赞 0 评论 417 浏览 评分:7.0
优质题解 [编程入门]宏定义之找最大数 摘要:解题思路:用函数求解的方法:找三个数中的最大数需要进行两两比较,先随便选两个数,然后比较两数的大小,返回两数中较大的一个,然后再拿这个较大的数与剩余的一个数进行比较,返回最大值。用例子表示找a,b,c…… 题解列表 2022年06月16日 0 点赞 6 评论 4166 浏览 评分:9.9
两种解法列出最简真分数序列 摘要:解题思路:方法一:1 看规律1 3 7 9 11 13 17 19...37 39 2 写出规律 %2!=0&&%5!=0 3 代码结构方法二:1 当成递增…… 题解列表 2022年06月16日 0 点赞 0 评论 455 浏览 评分:9.9
链表的基本操作 (Java代码) 摘要:import java.util.ArrayList; import java.util.Scanner; public class Main { public static void…… 题解列表 2022年06月16日 0 点赞 0 评论 428 浏览 评分:9.9
关于数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string n; cin >> n; in…… 题解列表 2022年06月16日 0 点赞 0 评论 299 浏览 评分:0.0
暴 力 输 入 摘要:解题思路:注意事项:参考代码:# include <stdio.h>int main(){ printf("1*1=1\n1*2=2 2*2=4\n1*3=3 2*3=6 3*3=9\n…… 题解列表 2022年06月15日 0 点赞 0 评论 420 浏览 评分:6.0
排队买票(c语言) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <stdlib.h> /* run this program using the console paus…… 题解列表 2022年06月15日 0 点赞 0 评论 304 浏览 评分:0.0
优质题解 蓝桥杯2020年第十一届国赛真题-游园安排(JAVA题解) 摘要:解题思路:提供了两种方法分别为solve1和solve2:第一种是常规的LIS动态规划解法,时间复杂度为O(n^2),只能过70%的测试点第二种是使用贪心+二分思想优化的LIS解法,时间复杂度为O(n…… 题解列表 2022年06月15日 0 点赞 0 评论 899 浏览 评分:6.8
P1002(C++)结构体,自定义排序 摘要:解题思路:定义结构体+结合sort排序+自定义类型排序注意事项:两个获得奖金一致时,按输入顺序输出先输入的参考代码:#include <iostream>#include <algorithm>usi…… 题解列表 2022年06月15日 0 点赞 0 评论 495 浏览 评分:0.0