编写题解 1041: [编程入门]宏定义之找最大数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #define M(a,b) (a>b)?a:b float sss(float x,float y,float z){ …… 题解列表 2024年06月14日 0 点赞 0 评论 755 浏览 评分:0.0
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 评论 763 浏览 评分: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 评论 688 浏览 评分:0.0
编写题解 1051: [编程入门]结构体之成绩统计2 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> struct a{ char s1[9]; char s2[9]; …… 题解列表 2024年06月12日 0 点赞 0 评论 574 浏览 评分:0.0
编写题解 1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h> struct a{ char s1[9]; char s2[9]; int a1; int …… 题解列表 2024年06月12日 0 点赞 0 评论 639 浏览 评分:0.0
编写题解 1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<stdlib.h> struct c{ int y; int m; int d; …… 题解列表 2024年06月11日 0 点赞 0 评论 470 浏览 评分:0.0
编写题解 1031: [编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<stdlib.h> #include<string.h> void count(char* str){ …… 题解列表 2024年06月11日 0 点赞 0 评论 484 浏览 评分:0.0
编写题解 1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(char c) {while((c=getchar())!= EOF){if(c != '\n'…… 题解列表 2024年06月11日 0 点赞 0 评论 778 浏览 评分:0.0
编写题解 1124: C语言训练-大、小写问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<stdlib.h> #include<string.h> void count(char* str){ …… 题解列表 2024年06月11日 0 点赞 0 评论 484 浏览 评分: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 评论 594 浏览 评分:9.9