自定义函数之数字后移 摘要:解题思路:利用两个数组,第一个数组保存数据,第二个数组完成后移拷贝注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ …… 题解列表 2022年03月27日 0 点赞 0 评论 441 浏览 评分:9.9
[编程入门]带参数宏定义练习 只需要swap函数就可以解决!!!! 摘要:解题思路:本题很简单!!!理解swap交换函数就可以注意事项:参考代码:#include <iostream>using namespace std;#define N(x,y) swap(x,y)i…… 题解列表 2022年03月27日 0 点赞 0 评论 356 浏览 评分:0.0
编写题解 1145: C语言训练-自由落体问题 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ int n; float…… 题解列表 2022年03月27日 0 点赞 0 评论 317 浏览 评分:0.0
蓝桥杯2020年第十一届国赛真题-天干地支 摘要:```c #include typedef struct tiangan_dizhi { int n; char c[10]; }td; int main() { td tg[10…… 题解列表 2022年03月27日 0 点赞 0 评论 659 浏览 评分:0.0
python-解题代码 摘要:解题思路:注意事项:参考代码:a=int(input())b=a//10000c=a%10000k=0days=[0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, …… 题解列表 2022年03月27日 0 点赞 0 评论 691 浏览 评分:9.9
编写题解 1144: C语言训练-自守数问题 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<math.h>using namespace std;int main(){ long long int i,…… 题解列表 2022年03月27日 0 点赞 0 评论 303 浏览 评分:0.0
1094: 字符串的输入输出处理 (简单 易理解 暴力 直接) 摘要: 很神奇的一道题目,我在测试的时候输出的格式中间多了一个换行,我改了半天,一直格式错误,到最后发现,在网页中代码运行会吃掉那个换行,也就是说在eclipse中运行中多一个换行是没有问题的。 对于代…… 题解列表 2022年03月27日 0 点赞 2 评论 529 浏览 评分:7.3
蓝桥杯2020年第十一届省赛真题-分类计数 摘要:```c //#define _CRT_SECURE_NO_WARNINGS #include #include #include int main() { char c; int …… 题解列表 2022年03月27日 0 点赞 0 评论 573 浏览 评分:6.0
编写题解 1142: C语言训练-立方和不等式 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; int sum = 0; int k …… 题解列表 2022年03月27日 0 点赞 0 评论 349 浏览 评分:0.0
编写题解 1139: C语言训练-求素数问题 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; for(int i=2…… 题解列表 2022年03月27日 0 点赞 0 评论 304 浏览 评分:0.0