编写题解 1144: C语言训练-自守数问题 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<math.h>using namespace std;int main(){ long long int i,…… 题解列表 2022年03月27日 0 点赞 0 评论 290 浏览 评分: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 评论 672 浏览 评分:9.9
蓝桥杯2020年第十一届国赛真题-天干地支 摘要:```c #include typedef struct tiangan_dizhi { int n; char c[10]; }td; int main() { td tg[10…… 题解列表 2022年03月27日 0 点赞 0 评论 628 浏览 评分:0.0
编写题解 1145: C语言训练-自由落体问题 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ int n; float…… 题解列表 2022年03月27日 0 点赞 0 评论 295 浏览 评分:0.0
[编程入门]带参数宏定义练习 只需要swap函数就可以解决!!!! 摘要:解题思路:本题很简单!!!理解swap交换函数就可以注意事项:参考代码:#include <iostream>using namespace std;#define N(x,y) swap(x,y)i…… 题解列表 2022年03月27日 0 点赞 0 评论 334 浏览 评分:0.0
自定义函数之数字后移 摘要:解题思路:利用两个数组,第一个数组保存数据,第二个数组完成后移拷贝注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ …… 题解列表 2022年03月27日 0 点赞 0 评论 422 浏览 评分:9.9
题解 1738: 排序 摘要:解题思路:冒泡排序我首先定义的就是n,然后定义数组,输入,判断n对数据进行排序时需要两个变量i,j,不断遍历,每一次循环确定一个位置最后输出注意事项:我考虑了n的大小,冒泡排序的变量,可是一直出现错误…… 题解列表 2022年03月27日 0 点赞 0 评论 356 浏览 评分:0.0
萌新一个小思路 摘要:解题思路:把第一次落地前和第一次落地后到第N次落地前两者独立开来注意事项:默认自由下落高度是第一次的高度参考代码:#include<stdio.h> #include<math.h> int ma…… 题解列表 2022年03月27日 0 点赞 0 评论 217 浏览 评分:9.9
运用循环小数的特点 摘要:解题思路:该题就是运用循环小数的特点:纯循环小数转化为分数:如0.4285742857…找到循环体42857,该循环体有5位,故而0.4285742857…就是42857/99999,这里有5个9这个…… 题解列表 2022年03月27日 0 点赞 0 评论 820 浏览 评分:7.1
1097: 蛇行矩阵 摘要:```java public class _1097_蛇行矩阵 { public static void main(String[] args) { Scanner scanner=new…… 题解列表 2022年03月27日 0 点赞 0 评论 369 浏览 评分:9.9