数字大小排序转化为对数组元素排序最终转化为利用sort函数排序 摘要:#include<iostream>#include<algorithm>using namespace std;int main(){ int a[3]; cin>>a[0]>>a[1]…… 文章列表 2022年01月17日 0 点赞 0 评论 218 浏览 评分:9.9
蓝桥杯-2017省赛-迷宫 摘要:题目: X 星球的一处迷宫游乐场建在某个小山坡上。它是由 10 \times 1010×10 相互连通的小房间组成的。 房间的地板上写着一个很大的字母。我们假设玩家是面朝上坡的方向站立,则: L…… 文章列表 2022年01月15日 0 点赞 0 评论 454 浏览 评分:9.9
DNA自用自用 摘要:```c #include #include int main() { int a, b, i, j, k, N; scanf_s("%d\n", &N); while (N--)…… 文章列表 2022年01月11日 0 点赞 0 评论 260 浏览 评分:0.0
链表代码(初始化,创建,输出) 摘要:#include<stdio.h>#include<stdlib.h>#include<string.h>typedef struct node{ char name[20]; int number…… 文章列表 2022年01月09日 0 点赞 0 评论 277 浏览 评分:0.0
FDGFEGRHEHE3333 摘要:E#include <stdio.h>#include <string.h>int myhui(char a[],int l,int r){ if(l>r) return 1; if(a[l]!=a[…… 文章列表 2022年01月08日 0 点赞 0 评论 240 浏览 评分:0.0
I大家都好骄傲我看 摘要:#include<bits/stdc++.h>using namespace std;int main(){int n,k;map<int,int>v;cin>>n;while(n--){cin>>k…… 文章列表 2022年01月08日 0 点赞 0 评论 420 浏览 评分:0.0
第I题密密麻麻吗 摘要:#include<bits/stdc++.h>using namespace std;int main(){ int n,k; map<int,int>v; cin>>n; while(n--) { …… 文章列表 2022年01月08日 0 点赞 0 评论 182 浏览 评分:0.0
J未签订日期为单位去 摘要:#include<bits/stdc++.h>using namespace std;int father[100005];int n;void init(){ for(int i=1;i<=n…… 文章列表 2022年01月08日 0 点赞 0 评论 189 浏览 评分:0.0
第H道题目的 摘要:#include<iostream>#include<string>using namespace std;int main(){string a;getline(cin, a); …… 文章列表 2022年01月08日 0 点赞 0 评论 389 浏览 评分:0.0
大二上学期代码 摘要:第4讲 文字或算式题目的解题技巧(2)1.下列乘法算式中:赛软件 * 比赛 = 软件比拼其中每个汉字代表1个数字(0~9)。相同的汉字代表相同的数字,不同的汉字代表不同的数字。试编程确定使得整个算式成…… 文章列表 2022年01月08日 0 点赞 0 评论 658 浏览 评分:9.9