用最简单的C语言编写自定义函数之数字后移 摘要:解题思路:只需考虑fun函数里往后移位问题注意事项:参考代码:#include<stdio.h>void fun(int n,int a[],int m);int main(){ int a[…… 题解列表 2022年05月01日 0 点赞 0 评论 547 浏览 评分:9.9
艰难的艰难 摘要:解题思路:注意事项:参考代码:int a[20],b=0; double bug=0; for(int i=0;i<20;i++) { scanf("%d",&a[i]); if(a[i…… 题解列表 2022年05月01日 0 点赞 0 评论 585 浏览 评分:0.0
c++统计子矩阵 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int a[100][100]; int n, m…… 题解列表 2022年05月01日 1 点赞 1 评论 1794 浏览 评分:9.0
编写题解 1001: [编程入门]第一个HelloWorld程序 摘要:解题思路:注意事项:参考代码:print('**************************\nHello World!\n**************************\n'…… 题解列表 2022年05月01日 0 点赞 0 评论 629 浏览 评分:0.0
[编程入门]自由下落的距离计算 摘要:解题思路:每次下落是前面的1/2,所有用循环可以直接解决注意事项:1.它的输出是要取两位小数,所以要用浮点型的数据 2.在输出的时候要注意其要求的是,最后一次落地时将要返弹的…… 题解列表 2022年05月01日 0 点赞 0 评论 684 浏览 评分:9.9
C++ 就是输入两行测试用例! ```#include#include#include#includeusingnamespacestd;constintInf=1e4;intM,N;intSum;inta,b,c;doublearr[Inf];voidInit(){a=2;while(a>0){cin>>M;Sum=0;for(i 题解列表 2022年05月01日 0 点赞 0 评论 699 浏览 评分:0.0
蓝桥杯2022年第十三届省赛真题-刷题统计 题解 解题思路:这题直接用循环的话可能会超时(我的第一感觉,但我没试过)!所以我们跳过循环,先计算前面可以刷完多少个整周,再乘以每周刷题数,再加上最后几天刷题的数量就可以了。注意事项:参考代码:#includeusingnamespacestd;longlonga, 题解列表 2022年05月01日 0 点赞 2 评论 1339 浏览 评分:9.9
编写题解 2071: [STL训练]壮志难酬 find 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string> #include<vector> using namespace std; int mai…… 题解列表 2022年04月30日 0 点赞 0 评论 670 浏览 评分:0.0
1003: [编程入门]密码破译 摘要:解题思路:此题就是把一个字符串的字母用它后面的第4个字母来代替。注意事项:当字母往后移四格,要判断它会不会越界,而且要分条件进行移位。参考代码:#include<bits/stdc++.h>//万能头…… 题解列表 2022年04月30日 0 点赞 3 评论 2104 浏览 评分:9.9
编写题解 2069: [STL训练]Let the Balloon Rise map 摘要:想知道为什么错误??参考代码:正确的 #include<iostream> #include<string> #include<algorithm> #include<vector> #…… 题解列表 2022年04月30日 0 点赞 0 评论 601 浏览 评分:0.0