自定义函数之整数处理 摘要:解题思路:注意事项:参考代码:def input_(): a=list(map(int,input().split())) deal(a)def deal(x): x.sort() …… 题解列表 2021年11月12日 0 点赞 0 评论 327 浏览 评分:0.0
1157: 亲和数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int a,b,c,d,e,sum,m; scanf("%d",&a); for(b=0;b<a…… 题解列表 2021年11月12日 0 点赞 0 评论 584 浏览 评分:9.9
C语言训练-阿姆斯特朗数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main(){ int a,b,c,d,e; for(a=2;a<1000;a+…… 题解列表 2021年11月12日 0 点赞 0 评论 757 浏览 评分:9.9
输入输出练习之第二个数字(小白易懂版) 摘要:解题思路:这道题还是很简单的了,从main函数开始,定义变量,最后再输入输出就好了。注意事项:在输入的格式中,“%d %d %d"中的格式中间有两个空格,用键盘敲入的时候,输入的数字中间也要有空格,不…… 题解列表 2021年11月12日 0 点赞 0 评论 584 浏览 评分:2.0
冒泡会超时了,我用sort(c++) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { int n,b,a[10000…… 题解列表 2021年11月12日 0 点赞 0 评论 438 浏览 评分:9.9
1014,好懂的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n;long long s=0,b=1; scanf("%d",&n); for(…… 题解列表 2021年11月12日 0 点赞 0 评论 382 浏览 评分:0.0
1481: 蓝桥杯算法提高VIP-剪刀石头布(python) 摘要:解题思路:注意事项:参考代码:a,b=map(int,input().split())if a == b: print("0")elif (a == 0 and b == 2) or (a ==…… 题解列表 2021年11月12日 0 点赞 0 评论 487 浏览 评分:0.0
1009,好懂的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b,c,d,e,f,g; scanf("%d",&a);…… 题解列表 2021年11月12日 0 点赞 0 评论 367 浏览 评分:0.0
简单解题法2 摘要:解题思路:注意事项:参考代码:#include<stdio.h> struct xinxi { /*定义结构体*/ char xuehao[1…… 题解列表 2021年11月12日 0 点赞 0 评论 370 浏览 评分:0.0
不利用二维数组的c++语言蛇形矩阵的满分解法 摘要:解题思路:可以看出每行每列中的数字都有个规律,也就是从1到2增加了1,从2到4增加了2,从4到7增加了3,由此我们可以发掘出数字之间的规律,在利用for循环打印出就行了。注意事项:注意 n - m -…… 题解列表 2021年11月12日 0 点赞 0 评论 606 浏览 评分:9.9