题解 1061: 二级C语言-计负均正 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int count=0,temp=…… 题解列表 2023年12月08日 0 点赞 0 评论 511 浏览 评分:0.0
1043: [编程入门]三个数字的排序 C语言 冒泡排序 摘要:解题思路:冒泡排序注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS#include <stdio.h>int main(void){ int a, b, c,t; s…… 题解列表 2023年12月08日 0 点赞 0 评论 412 浏览 评分:0.0
题目 1671: 小九九题解 摘要:解题思路:嵌套双循环注意事项:return 0 注意不要掉了参考代码:#includeint main(){ int i, j; for (i = 1; i < 10; i++) {…… 题解列表 2023年12月08日 0 点赞 0 评论 714 浏览 评分:9.9
]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct Stu{ char id[20],name[20]; int score1,score2,score3;};v…… 题解列表 2023年12月08日 0 点赞 0 评论 398 浏览 评分:0.0
c语言小白写法,用struct 摘要:解题思路:注意事项:参考代码:#include <stdio.h>typedef struct student{ int id; float score;} student;int mai…… 题解列表 2023年12月08日 0 点赞 1 评论 483 浏览 评分:0.0
回文素数(这题数据是真的大,在素数领域有一个性质,偶数位数的除了11以外全部不是回文素数) 摘要:解题思路:这题正常解法,对空间巨大,到7差不多就会溢出,重点:在素数领域有一个性质,偶数位数的数除了11以外全部不是回文素数想知道原理的可以去查下,我也不知( ´・・)ノ(._.`)这样的话,除了n=…… 题解列表 2023年12月07日 0 点赞 0 评论 654 浏览 评分:0.0
报数问题。。。记录一下 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[100]={0}; int i=0,k=0,n; scanf("%d",&n); int coun…… 题解列表 2023年12月07日 0 点赞 0 评论 403 浏览 评分:0.0
结构体之时间设计(简单理解) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define Dat struct DateDat{ int year,month,day;};void transform(D…… 题解列表 2023年12月07日 0 点赞 0 评论 446 浏览 评分:9.9
c语言简单解法 解题思路:利用数组求解,利用break用来使循环终止从而达到前面的i先输出,提前设输出变量=-1,若符合则变量=i+1,避免if多次判断注意事项:不要把赋值和等于号混淆,数组下标从0开始参考代码:#includeintmain(){intn, 题解列表 2023年12月07日 0 点赞 0 评论 604 浏览 评分:9.9
编写题解 1196: 去掉空格 摘要:解题思路:注意事项:参考代码#include<stdio.h>int main(){ char a[100]; while(gets(a)) { kg(a); …… 题解列表 2023年12月07日 0 点赞 0 评论 422 浏览 评分:0.0