2227: 蓝桥杯算法训练-2的次幂表示 摘要: #include #include #include void func(int m,int r) { if (m == 1) { switch …… 题解列表 2022年03月06日 0 点赞 0 评论 502 浏览 评分:0.0
编写题解 1019: [编程入门]自由下落的距离计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<iostream>#include<iomanip>using namespace std;int main (){ …… 题解列表 2022年03月06日 0 点赞 0 评论 450 浏览 评分:0.0
看错题目,以为又是一个文本整个内容输入,他这个是一行一行输入的数据, 摘要:#include<stdio.h> #include<string.h> #include<malloc.h> #include<stdlib.h> #include<ctype.h> in…… 题解列表 2022年03月06日 0 点赞 0 评论 329 浏览 评分:0.0
1094: 字符串的输入输出处理(Java) 摘要:解题思路:本题中要求前N行按照原来的输入字符串输出,包括空格。而N行以后要求空格或者回车分割输出。我们可以想到用Scanner中的next()方法和nextLine()方法。nextLine()方法可…… 题解列表 2022年03月06日 0 点赞 0 评论 428 浏览 评分:0.0
很多小东西,全部都要考虑周全,最大数和最小是 摘要: int n, m; int temp; while(scanf("%d %d",&n,&m) == 2){ if(n == 0 && m == 0){ break; } …… 题解列表 2022年03月06日 0 点赞 0 评论 394 浏览 评分:0.0
矩阵乘法--谦谦笔记 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int m, n;int a[30][30], b[30][30], c[30][30];in…… 题解列表 2022年03月06日 0 点赞 0 评论 375 浏览 评分:0.0
回形取数--简单 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){int m, n;cin >> m >> n;int num[500][…… 题解列表 2022年03月06日 0 点赞 0 评论 344 浏览 评分:0.0
有规律的数列求和(python) 摘要:N = int(input())a = 1b = 2sum_ = 0for i in range(1,N+1): sum_ += b/a temp = a a = b b = …… 题解列表 2022年03月06日 0 点赞 0 评论 457 浏览 评分:0.0
编写题解 1023: [编程入门]选择排序--冒泡 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,tmp; int arr[10]; for(i=0;i<10;i++){ …… 题解列表 2022年03月07日 0 点赞 0 评论 330 浏览 评分:0.0
编写题解 1023: [编程入门]选择排序--桶排 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int arr[500],a[10]; int m; for(int i=0;i<500;i…… 题解列表 2022年03月07日 0 点赞 0 评论 353 浏览 评分:0.0