数据结构-直接插入排序 摘要:解题思路:关键是理解好j--和j+1当时所代表的含义注意事项:参考代码:import java.util.Scanner;public class Main2 { public static v…… 题解列表 2023年06月05日 0 点赞 0 评论 406 浏览 评分:0.0
皮亚诺曲线距离python 摘要:解题思路:借鉴了https://www.cnblogs.com/EchoZQN/p/14829144.html的做法注意事项:参考代码:k = int(input())x1,y1 = map(int,…… 题解列表 2023年06月05日 0 点赞 0 评论 370 浏览 评分:0.0
C++ 使用set容器完成去重和排序: 明明的随机数 摘要:# C++ set容器 头文件 ```c++ #include ``` ## AC代码 ```c++ #include #include using namespace std…… 题解列表 2023年06月05日 0 点赞 0 评论 362 浏览 评分:0.0
C++ string类: 去掉空格 摘要:# 输出不带空格即可 ```c++ #include #include using namespace std; int main() { string s; wh…… 题解列表 2023年06月05日 0 点赞 0 评论 318 浏览 评分:0.0
C++ string类:字符串问题 摘要:# C++ string类 ```c++ #include using namespace std; int main() { string s; getline(c…… 题解列表 2023年06月05日 0 点赞 0 评论 670 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; long int min = 1000000, max = 0; scanf("%d", &n);…… 题解列表 2023年06月05日 1 点赞 0 评论 460 浏览 评分:0.0
A+B for Input-Output Practice (III)C语言 摘要:#include<stdio.h> int main() { int a, b; while (scanf("%d%d", &a, &b)!=EOF) { if (a == 0…… 题解列表 2023年06月05日 0 点赞 0 评论 272 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[1001]; gets(str); st…… 题解列表 2023年06月05日 0 点赞 0 评论 393 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void CompactIntegers(int a[],int k,int n){ int i; for (i = k; …… 题解列表 2023年06月05日 0 点赞 0 评论 326 浏览 评分:0.0
A+B for Input-Output Practice (V) 摘要:#include<stdio.h> int main() { int a; scanf("%d",&a); int sum = 0,c; int b[a][100]; f…… 题解列表 2023年06月05日 0 点赞 0 评论 273 浏览 评分:0.0