1026: [编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:li = list(map(int, input().split()))for i in li[::-1]: print(i,end=' ')…… 题解列表 2022年02月20日 0 点赞 0 评论 585 浏览 评分:0.0
十->二进制转换 ```cpp#include#include#includetypedefstructSNode{longlongdata;structSNode*next;}SNode,*LinkStack;intInitSNode(LinkStack&S){S=(SNode*)malloc(sizeof(SNod 题解列表 2022年02月20日 0 点赞 0 评论 647 浏览 评分:0.0
还行,一般般吧 摘要:解题思路:注意事项:参考代码:lst1=[list(map(int,input().split()))for i in range(3)]lst2=[]for m in range(3): fo…… 题解列表 2022年02月20日 0 点赞 0 评论 529 浏览 评分:0.0
[python]动态规划&遍历 #问题描述 解题思路:依靠四个方位来进行移动注意事项:仔细一点参考代码:m,n=map(int,input().split())list1=[[0]*nforiinrange(m)]foriinrange(m):list1[i]=input().split()ans=[]sum=m*n-1list2=[[0]*2 题解列表 2022年02月20日 0 点赞 0 评论 644 浏览 评分:0.0
反正是对的 摘要:解题思路:三目运算符嵌套注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); a>b…… 题解列表 2022年02月20日 0 点赞 0 评论 663 浏览 评分:0.0
打印十字图 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstdio>#include<algorithm>#include<cmath>#include<cstring>…… 题解列表 2022年02月20日 0 点赞 0 评论 586 浏览 评分:0.0
python-芯片测试 解题思路:参考思路:https://blog.dotcpp.com/a/83445由题意我们可以知道①好的芯片的测试结果都是一样的②好的芯片比坏的芯片多那么我们就能得出,我们将每一行看作一个字符串存在一个数组A中,那么A中出现次数最多的字符串就是正确的结果。 题解列表 2022年02月20日 0 点赞 0 评论 940 浏览 评分:0.0
1033: [编程入门]自定义函数之字符提取 摘要:解题思路:注意事项:参考代码:def fun(a): b = '' c = 'aeiou' for i in a: if i in c:…… 题解列表 2022年02月21日 0 点赞 0 评论 611 浏览 评分:0.0
1034: [编程入门]自定义函数之数字分离 摘要:解题思路:注意事项:参考代码:def fun(a): b = "" for i in a: b += i b += ' ' print(b…… 题解列表 2022年02月21日 0 点赞 0 评论 578 浏览 评分:0.0