编写题解 1125: C语言训练-委派任务* 摘要:解题思路:恶心的题目利用1和0表示去或者不去,循环一直套,判断条件稍微注意一点就好注意事项:参考代码:import java.util.Scanner;public class Main { p…… 题解列表 2021年10月21日 0 点赞 1 评论 547 浏览 评分:9.9
结构体之时间设计 摘要:解题思路:先定义时间结构体:struct time{ int year; int month; int day; }; 定义主函数,和结构体联系起来: int ma…… 题解列表 2021年10月22日 0 点赞 0 评论 391 浏览 评分:9.9
题解 1196: 去掉空格 摘要:参考代码:#include<stdio.h>#include<string.h>#define N 80 typedef char str[N]; //重定义一个含有80个元素的字符数组 v…… 题解列表 2021年10月22日 0 点赞 1 评论 768 浏览 评分:9.9
一元n次方程 摘要: #include void jj(int a,int i) { if(a!=1) printf("%d",a); printf("x")…… 题解列表 2021年10月22日 0 点赞 0 评论 541 浏览 评分:9.9
题解 1476: 蓝桥杯基础练习VIP-龟兔赛跑预测 摘要:解题思路:这题需要注意的问题很多,比如在兔子休息的时候乌龟到了终点这样的情况,不能忽略,不然只能对73%,然后就是分情况判断需要全面注意事项:参考代码:#includeint main(){ int …… 题解列表 2021年10月22日 0 点赞 0 评论 534 浏览 评分:9.9
编写题解 1012: [编程入门]字符串分类统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[200]; int i; int c=0,v=0,b=0,n=0; for(i=0;i<=20…… 题解列表 2021年10月22日 0 点赞 0 评论 674 浏览 评分:9.9
1126: C语言训练-字符串正反连接-题解(python) 摘要:解题思路:字符串切片的使用注意事项:参考代码:a = input()b = a[::-1]c = a+bprint(c)…… 题解列表 2021年10月22日 0 点赞 0 评论 656 浏览 评分:9.9
巧用sort解题 摘要:解题思路: 1、首先要创建两个链表,并且给数值域赋值; 2、重要的是排序,STL里有sort函数能对结构体进行排序,因为是链表,无法调用sort排序 …… 题解列表 2021年10月23日 0 点赞 0 评论 707 浏览 评分:9.9
[编程入门]猴子吃桃的问题(简单的递归)【C语言】 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int func(int n){ if(n==1) return 1; else return(func(n-1)+1)*2;}//函数…… 题解列表 2021年10月23日 0 点赞 0 评论 696 浏览 评分:9.9
蓝桥杯算法提高VIP-复数求和 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<malloc.h> #include<stdlib.h> #define I sizeof(struct a)…… 题解列表 2021年10月23日 0 点赞 0 评论 528 浏览 评分:9.9