用VS来写结构体数组并排序 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS#include <stdio.h>#include <malloc.h>struct _node{ int…… 题解列表 2024年07月11日 0 点赞 0 评论 230 浏览 评分:0.0
2236: 蓝桥杯算法训练-大小写转换 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e5;char …… 题解列表 2024年07月11日 0 点赞 0 评论 159 浏览 评分:0.0
解 2846: 统计数字字符 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;char a[1005];int main(){ int sum=0; cin.g…… 题解列表 2024年07月11日 0 点赞 0 评论 213 浏览 评分:0.0
2846: 统计数字字符个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;const int N=1e5;char a[N];int main(){ …… 题解列表 2024年07月11日 0 点赞 0 评论 277 浏览 评分:0.0
机器人繁殖(C语言)——别用long!不然时间也很long。 摘要:解题思路:第一种思路:把这看做一道数学题,写出通项找规律,直接得到公式。在下数学不好,想了想就转战第二种思路了。第二种思路:利用计算机的能力,遍历第一年的机器人数量,依据题意得出n年后的数量,比较后得…… 题解列表 2024年07月11日 0 点赞 0 评论 119 浏览 评分:0.0
编写题解 1010: [编程入门]利润计算 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int x,y; cin>>x;//利润 if(x<=100…… 题解列表 2024年07月11日 1 点赞 0 评论 382 浏览 评分:0.0
1174: 计算直线的交点数 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; while (cin >> n) { int dp[2…… 题解列表 2024年07月12日 0 点赞 0 评论 216 浏览 评分:0.0
2846: 统计数字字符个数 摘要:```cpp #include using namespace std; typedef long long ll; const int N=1e5; char a[N]; int ma…… 题解列表 2024年07月12日 0 点赞 0 评论 236 浏览 评分:0.0
1102: 明明的随机数 摘要:解题思路:题目描述:给定一个无序的整数序列,编写一个程序实现插入排序算法,对整数序列进行从小到大的排序,并输出排序后的整数个数和排序后的整数序列。输入格式:第一行输入一个整数N,表示整数序列的长度;接…… 题解列表 2024年07月12日 0 点赞 0 评论 254 浏览 评分:0.0
题解 2853: 字符替换 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;char c[32],l,k;int main(){ cin>>c; …… 题解列表 2024年07月12日 0 点赞 0 评论 158 浏览 评分:0.0