161:小九九 摘要:参考代码:#include <stdio.h>int main(){ int i,j; for(i=1;i<=9;i++) { for(j=1;j<=i;j++) …… 题解列表 2024年06月13日 1 点赞 0 评论 802 浏览 评分:9.9
1124大小写问题(遍历一次就行) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[110]; gets(a); int sz=strlen(a)…… 题解列表 2024年06月12日 0 点赞 0 评论 732 浏览 评分:0.0
编写题解 1051: [编程入门]结构体之成绩统计2 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> struct a{ char s1[9]; char s2[9]; …… 题解列表 2024年06月12日 0 点赞 0 评论 615 浏览 评分:0.0
编写题解 1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h> struct a{ char s1[9]; char s2[9]; int a1; int …… 题解列表 2024年06月12日 0 点赞 0 评论 695 浏览 评分:0.0
编写题解 1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<stdlib.h> struct c{ int y; int m; int d; …… 题解列表 2024年06月11日 0 点赞 0 评论 523 浏览 评分:0.0
编写题解 1031: [编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<stdlib.h> #include<string.h> void count(char* str){ …… 题解列表 2024年06月11日 0 点赞 0 评论 533 浏览 评分:0.0
编写题解 1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(char c) {while((c=getchar())!= EOF){if(c != '\n'…… 题解列表 2024年06月11日 0 点赞 0 评论 823 浏览 评分:0.0
编写题解 1124: C语言训练-大、小写问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<stdlib.h> #include<string.h> void count(char* str){ …… 题解列表 2024年06月11日 0 点赞 0 评论 532 浏览 评分:0.0
简单for循环实现详解 摘要:解题思路:H为high,S为sum。for循环实现。注意事项:①for (int i = 1; i < N; i++):从i=1开始循环,即球从1000M落下后开始计算,所以S初始值先加上初始的H(1…… 题解列表 2024年06月11日 0 点赞 0 评论 654 浏览 评分:9.9
密码破译(包含字母WXYZ) 解题思路:主要思路ASCII的循环思路,目前我自己还处于新手入门阶段,所以很多原理性的内容,无法做出更多的解释。题解我是参考前边几个大佬的思路,按照我自己的理解写的,如果有不对的地方,欢迎指正。假设数组的长度为100,并且Z、z之后重新从A、a开始循环, 题解列表 2024年06月10日 1 点赞 0 评论 833 浏览 评分:0.0