1771: [编程入门]链表之节点删除(c语言代码) 摘要:```c #include #include typedef struct node { int id, socre; struct node* next; }student; st…… 题解列表 2024年08月06日 1 点赞 0 评论 472 浏览 评分:10.0
暴力求解 C语言 摘要:解题思路:循环并取数判断注意事项:注意审题参考代码:#include <stdio.h> int conut(int x)//测算每次i的位数 { int a = 0; whil…… 题解列表 2024年08月07日 0 点赞 0 评论 247 浏览 评分:10.0
三个字符串的排序,使用选择排序 摘要:解题思路: 输入三个字符串,并存入一个数组中,对该数组元素进行选择排序。注意事项:无参考代码:#include<iostream> using namespace std; #include<st…… 题解列表 2024年08月09日 3 点赞 1 评论 585 浏览 评分:10.0
IP判断 简单易懂(C语言代码) 摘要:```c #include #include #include #define lenth 256 // 检查给定的字符串是否为有效的IPv4地址 // 参数s: 表示IPv4地址的字符串…… 题解列表 2024年08月10日 2 点赞 0 评论 474 浏览 评分:10.0
1115: DNA 循环 摘要:解题思路:打印对角线X 第一行单独处理注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; int main() …… 题解列表 2024年08月10日 0 点赞 0 评论 334 浏览 评分:10.0
弟弟的作业(纯C++代码,不使用scanf) 摘要:解题思路:用while循环读取输入的算式,直到读取到空行,查找并记录运算符‘+’或者‘-’以及‘=’在字符串s中的位置,通过这两个位置,对字符串进行切片操作,最后进行判断。注意事项: 运用到了#inc…… 题解列表 2024年08月11日 2 点赞 0 评论 451 浏览 评分:10.0
津津的储蓄计划(python版) 摘要:解题思路:注意事项:参考代码:def progress(x,y): if x<y: return -1 else: less=x-y return…… 题解列表 2024年08月12日 0 点赞 0 评论 338 浏览 评分:10.0
数据结构——递归篇 摘要:解题思路:参考代码:#include<bits/stdc++.h> using namespace std; void move(char a,int n,char c) { cout<<"…… 题解列表 2024年08月17日 1 点赞 0 评论 347 浏览 评分:10.0
1492 蓝桥杯算法提高VIP-产生数 摘要:解题思路:无注意事项:无参考代码:#include<iostream>#include<cstring>using namespace std;int tag[10][10],d[10],p[1000…… 题解列表 2024年08月24日 0 点赞 0 评论 235 浏览 评分:10.0
校门外的树 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int L,M; scanf("%d%d",&L,&M); int n=L+1,sum=0; //n:树量 …… 题解列表 2024年08月28日 2 点赞 0 评论 215 浏览 评分:10.0