C语言训练-8除不尽的数 题解 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(void) { int i, n, t, yes, a; yes = 0; for (i = 2…… 题解列表 2023年01月05日 0 点赞 0 评论 697 浏览 评分:0.0
C语言—— Vigenère密码 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int c[1001]={0},d[101]={0},i,j,k; …… 题解列表 2023年01月05日 0 点赞 0 评论 778 浏览 评分:7.3
自定义函数之字符串连接(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<assert.h> char* my_strcat(char* dest, char* src) { …… 题解列表 2023年01月05日 0 点赞 0 评论 581 浏览 评分:0.0
简单版汽水瓶代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i = 0; for(i=0;i<10;i++) { int a = …… 题解列表 2023年01月05日 0 点赞 0 评论 508 浏览 评分:0.0
编写题解 2239: 蓝桥杯算法训练-动态数组使用 摘要:解题思路:注意事项:参考代码:#include <malloc.h> //所需的头文件 #include <stdio.h> int main() { int *a, n; int…… 题解列表 2023年01月05日 0 点赞 0 评论 573 浏览 评分:9.9
1010: [编程入门]利润计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int func(int x); int main() { int a,sum; sum = 0; sc…… 题解列表 2023年01月05日 0 点赞 0 评论 598 浏览 评分:0.0
自定义函数之字符串反转(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void fun(char str[]){ char* str1 = str; char* str2…… 题解列表 2023年01月04日 0 点赞 0 评论 549 浏览 评分:9.9
蓝桥杯历届试题-回文数字 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,t,i,flag=1; scanf("%d",&n); for(i=10000;i<1000000;…… 题解列表 2023年01月04日 0 点赞 0 评论 770 浏览 评分:9.9
[C语言]自由下落的距离计算 摘要:解题思路: 使用for循环进行每次触底反弹的计算,在总路程的计算过程中我是将每一次的反弹及坠落看作一组,并对最后一组数据进行处理。个人感觉这样的方法相比公式法而言较讨巧,但是没有较复杂的公…… 题解列表 2023年01月04日 0 点赞 0 评论 468 浏览 评分:0.0
将每个数字存入数组 摘要:解题思路:数组求解注意事项:参考代码:#include<stdio.h>int main(){ int n,t,i=0,j,cnt=0,a[20]; scanf("%d",&n); while(n){…… 题解列表 2023年01月04日 1 点赞 0 评论 506 浏览 评分:8.0