[竞赛入门]简单的a+b 摘要:解题思路:注意事项:参考代码:while True: a,b = map(int,input().split()) if a > 2**10 or b > 2**10: br…… 题解列表 2022年01月16日 0 点赞 0 评论 828 浏览 评分:7.2
[编程入门]三个数的最大值python 摘要:解题思路:注意事项:参考代码:a,b,c = map(int,input(),split) print(max(a,b,c))…… 题解列表 2022年01月16日 0 点赞 0 评论 571 浏览 评分:6.0
1074: 数字整除 摘要:解题思路:注意事项:参考代码:while True: try: m = input() if int(m) == 0: &n 题解列表 2022年01月16日 0 点赞 0 评论 248 浏览 评分:0.0
优质题解 网络寻路-通过DFS(深搜)+邻接表实现 [Java][超详细注解] 摘要:# 基本思路 首先找路径数,很明显能想到用DFS(深度优先搜索) 但是有没有明确的终点,同时还给了一共需要转发2次(即需要走四个地点) 那么我们就可以想到用邻接表或邻接矩阵的数据结构来储存地…… 题解列表 2022年01月16日 0 点赞 0 评论 1285 浏览 评分:8.4
python-删除数组中的0元素 摘要:解题思路:看题解中没有用python写的,这里就简单写一下。思路不难。python的列表修改是动态的,如果采用下标索引删除的方法的话,由于下标在变化,因此处理起来稍有麻烦,这里采用重新建立一个列表。将…… 题解列表 2022年01月16日 0 点赞 0 评论 1208 浏览 评分:0.0
1073: 弟弟的作业(python 代码) 摘要:解题思路:注意事项:参考代码:s =0 while True: try: m = input() if '?' not in m: if '+' in …… 题解列表 2022年01月16日 0 点赞 0 评论 639 浏览 评分:0.0
[编程入门]有规律的数列求和-题解(C++代码) 摘要:解题思路:for语句循环注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ double a…… 题解列表 2022年01月16日 0 点赞 0 评论 239 浏览 评分:0.0
简单易懂的递归倒置字符数组 摘要:#include #include #include using namespace std; int n; string s; void swapalpha(int r,int l) {…… 题解列表 2022年01月16日 0 点赞 0 评论 387 浏览 评分:6.0
编写题解 1093: 字符逆序c语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100]; gets(a); for(int i=…… 题解列表 2022年01月16日 0 点赞 0 评论 381 浏览 评分:0.0
教你如何用java做出三个数的排序 摘要:解题思路:通过利用数组中的sort方法求解注意事项:需要导入一个包参考代码:import java.util.*;public class Main { public static void main…… 题解列表 2022年01月16日 0 点赞 0 评论 391 浏览 评分:0.0