自定义函数之数字后移----最简单 摘要:解题思路:注意事项:参考代码:a=int(input())b=list(map(int,input().split()))c=int(input())d=[]for i in range(c): …… 题解列表 2022年03月03日 0 点赞 0 评论 397 浏览 评分:0.0
二维数组的转置 摘要:解题思路:注意事项:参考代码:a=[]p=0for i in range(3): b=list(map(int,input().split())) a.append(b)for k in …… 题解列表 2022年03月03日 0 点赞 0 评论 389 浏览 评分:0.0
Hifipsysta-1218-排列(C++代码)DFS 摘要:```cpp =```cpp #include #include using namespace std; const int maxLen = 11; int seq[maxLen]…… 题解列表 2022年03月04日 0 点赞 0 评论 467 浏览 评分:0.0
Hifipsysta-1913-蓝桥杯算法提高VIP-排列数(C++代码)基于STL的实现 摘要:```cpp #include #include #include using namespace std; int main(){ int n; cin>…… 题解列表 2022年03月04日 0 点赞 0 评论 486 浏览 评分:0.0
C语言训练-"水仙花数"问题1 解答代码及思路 摘要:解题思路:定义一个数组变量来存储三位数,通过使用for循环和getchar()函数使a[0]、a[1]和a[2]分别以字符形式得到百位、十位和个位数的ASCII码,然后用每个数字都-48就可以得到十进…… 题解列表 2022年03月04日 0 点赞 0 评论 600 浏览 评分:0.0
题解 1044: [编程入门]三个字符串的排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { char str[3][50]; //定义3个数组 int i,j; …… 题解列表 2022年03月04日 0 点赞 0 评论 533 浏览 评分:0.0
利息计算--简单 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip> // 小数using namespace std;int main(){ double n…… 题解列表 2022年03月04日 0 点赞 0 评论 343 浏览 评分:0.0
Python解决 ——2010辽宁省决赛 摘要:解题思路:1.按照题目要求分别用列表来装数据 2.分别筛选出A和B的交集,以及前者和C的交集的结果,然后用C减去 3.如果这个列表为空,则输出“No enemy spy”,反之,输出列表中的结果。注意…… 题解列表 2022年03月04日 0 点赞 0 评论 384 浏览 评分:0.0
蓝桥杯算法提高VIP-字符串跳步-题解(C++代码) 摘要:#include <iostream> using namespace std; int main() { string temp; cin >> temp; int start, s…… 题解列表 2022年03月04日 0 点赞 0 评论 358 浏览 评分: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 评论 415 浏览 评分:0.0