数组实现(数组的本质也是指针) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>intmain(){ intn,a[100]; …… 题解列表 2025年02月09日 2 点赞 0 评论 417 浏览 评分:0.0
蓝桥杯2024年第十五届决赛真题-兔子集结 摘要:解题思路:将兔子分为两种(1.它和它的同伴相向而行 2.它和它的同伴不相向而行)。不难发现最后兔子的位置都位于第一种(它和它的同伴相向而行)兔子最后的位置上。所以我们可以首先确定第一种兔子…… 题解列表 2025年02月09日 10 点赞 0 评论 1493 浏览 评分:9.3
1014解题方法及答案 摘要:解题思路:注意事项:与许多优质题解一样,将int型数据改为long long int型即可。参考代码:#include<stdio.h>#include<math.h>int …… 题解列表 2025年02月09日 2 点赞 0 评论 1182 浏览 评分:0.0
链表数据求和操作(作代码记录用) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>typedef struct…… 题解列表 2025年02月09日 0 点赞 0 评论 243 浏览 评分:0.0
1013,for循环解决 摘要:#######includeint main(){ int a=2,n,term=0,sum=0,i; scanf("%d",&n); for(i=1;i…… 题解列表 2025年02月09日 5 点赞 0 评论 843 浏览 评分:0.0
C语言训练-字符串正反连接(c) 摘要:#include <stdio.h>#include <string.h>int main(){ char a[120]; int x,j=0,i; gets(a); x=st…… 题解列表 2025年02月09日 1 点赞 0 评论 397 浏览 评分:10.0
IP判断,简单易懂,看不懂我吃kfc 摘要:解题思路:调用#include<stdlib.h>里的sscanf注意事项:int sscanf(const char *str, const char *format, ...);str…… 题解列表 2025年02月09日 2 点赞 0 评论 263 浏览 评分:10.0
题目 1010: [编程入门]利润计算 摘要:解题思路:读题看清题目要求在用if语句做判断注意事项:计算条件一定要看清参考代码:#include"stdio.h"void main(){ int l; …… 题解列表 2025年02月08日 3 点赞 0 评论 791 浏览 评分:0.0
编写题解 2946: 数制转换 摘要:```cpp#include using namespace std;typedef long long ll;char s[1000];int a[1000], cnt;in…… 题解列表 2025年02月08日 0 点赞 0 评论 118 浏览 评分:0.0
菲暃要加油 摘要:参考代码:n=eval(input())foriinrange(n):b=input().split()…… 题解列表 2025年02月08日 0 点赞 0 评论 273 浏览 评分:0.0