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