输入输出练习之第二个数字(小白易懂版) 摘要:解题思路:这道题还是很简单的了,从main函数开始,定义变量,最后再输入输出就好了。注意事项:在输入的格式中,“%d %d %d"中的格式中间有两个空格,用键盘敲入的时候,输入的数字中间也要有空格,不…… 题解列表 2021年11月12日 0 点赞 0 评论 563 浏览 评分:2.0
冒泡会超时了,我用sort(c++) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { int n,b,a[10000…… 题解列表 2021年11月12日 0 点赞 0 评论 408 浏览 评分: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 评论 352 浏览 评分: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 评论 455 浏览 评分: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 评论 338 浏览 评分:0.0
简单解题法2 摘要:解题思路:注意事项:参考代码:#include<stdio.h> struct xinxi { /*定义结构体*/ char xuehao[1…… 题解列表 2021年11月12日 0 点赞 0 评论 325 浏览 评分:0.0
不利用二维数组的c++语言蛇形矩阵的满分解法 摘要:解题思路:可以看出每行每列中的数字都有个规律,也就是从1到2增加了1,从2到4增加了2,从4到7增加了3,由此我们可以发掘出数字之间的规律,在利用for循环打印出就行了。注意事项:注意 n - m -…… 题解列表 2021年11月12日 0 点赞 0 评论 576 浏览 评分:9.9
编写题解 1115: DNA(python) 摘要:解题思路:注意事项:参考代码:N = int(input())for i in range(N): m,n = map(int,input().split()) a = (m+1) // …… 题解列表 2021年11月12日 0 点赞 0 评论 430 浏览 评分:0.0
1043: [编程入门]三个数字的排序 摘要:解题思路: 穷举, 把所有情况都列出进行一波暴击试验从而得出答案参考代码:#include <stdio.h> int main() { int a, b, c; scanf("%d%…… 题解列表 2021年11月12日 0 点赞 0 评论 360 浏览 评分:0.0
C语言训练-"水仙花数"问题1 摘要:解题思路: 拆分数位+逻辑参考代码:#include <stdio.h> int main() { int a, a1, a2, a3, b, panduan; scanf("%d",…… 题解列表 2021年11月12日 0 点赞 0 评论 819 浏览 评分:9.9