1024: [编程入门]矩阵对角线求和 ```c#includeintmatrix[3][3];//定义矩阵intmain(){inti=0,j=0,sum_main=0,sum_vice=0;for(;i<3;i++)//行{for(j=0;j<3;j++)//列{scanf("%d", 题解列表 2022年11月14日 0 点赞 0 评论 517 浏览 评分:0.0
1023: [编程入门]选择排序 ```c#includeconstintNUM=10;intmain(){inti=0,min=0,min_index=0;inta[11];for(;i 题解列表 2022年11月14日 0 点赞 0 评论 573 浏览 评分:0.0 笨小猴(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[100]; int i,j;; int w; int b[200]={0}…… 题解列表 2022年11月14日 0 点赞 0 评论 768 浏览 评分:9.9 题解 1051: [编程入门]结构体之成绩统计2 1050基础上修改 #include//typedefstructStudent{charnum[16];charname[32];intcj1;intcj2;intcj3;}student[100];intN;voidinput(){inti;ints1=0, 题解列表 2022年11月14日 0 点赞 0 评论 510 浏览 评分:0.0 用for循环解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(void){ int a, b, sum=0; scanf("%d",&a…… 题解列表 2022年11月14日 0 点赞 0 评论 627 浏览 评分:9.9 编写题解 1395: 倒数第二 Python 摘要:解题思路:sort函数注意事项:很简单好吧,不需要注意参考代码:C=int(input())while C!=0: n=int(input()) if n>=2 and n<=10: …… 题解列表 2022年11月14日 0 点赞 9 评论 510 浏览 评分:8.4 题解1096:Minesweeper #1096:Minesweeper##知识点###知识点1:无限循环输入,知道输入两个0的时候结束我这里使用的方法是,用`times`变量进行计数,使用`for`循环。次循环之后`times`变量自增。每次循环开始时输入`n``m`,如果输入两个0,则直接`return`跳出`main()`。 题解列表 2022年11月14日 0 点赞 0 评论 551 浏览 评分:9.9 2757: 浮点数向零舍入(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float a; int b; scanf("%f",&a); b=a; printf("%d\n",b); …… 题解列表 2022年11月14日 0 点赞 1 评论 1959 浏览 评分:9.9 2755: 类型转换 解题思路:注意事项:参考代码:#includeintmain(){printf("DC\n");return0;} 题解列表 2022年11月14日 0 点赞 0 评论 1879 浏览 评分:6.0 杨辉三角, 三种方法: 组合数 || 递归 || 迭代,都很简单 #includelonglongFun(intn,intm)//组合数,注意大组合数{if(n 题解列表 2022年11月14日 0 点赞 0 评论 1283 浏览 评分:9.9 « 12...1769177017711772177317741775...59095910 »
笨小猴(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[100]; int i,j;; int w; int b[200]={0}…… 题解列表 2022年11月14日 0 点赞 0 评论 768 浏览 评分:9.9
题解 1051: [编程入门]结构体之成绩统计2 1050基础上修改 #include//typedefstructStudent{charnum[16];charname[32];intcj1;intcj2;intcj3;}student[100];intN;voidinput(){inti;ints1=0, 题解列表 2022年11月14日 0 点赞 0 评论 510 浏览 评分:0.0
用for循环解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(void){ int a, b, sum=0; scanf("%d",&a…… 题解列表 2022年11月14日 0 点赞 0 评论 627 浏览 评分:9.9
编写题解 1395: 倒数第二 Python 摘要:解题思路:sort函数注意事项:很简单好吧,不需要注意参考代码:C=int(input())while C!=0: n=int(input()) if n>=2 and n<=10: …… 题解列表 2022年11月14日 0 点赞 9 评论 510 浏览 评分:8.4
题解1096:Minesweeper #1096:Minesweeper##知识点###知识点1:无限循环输入,知道输入两个0的时候结束我这里使用的方法是,用`times`变量进行计数,使用`for`循环。次循环之后`times`变量自增。每次循环开始时输入`n``m`,如果输入两个0,则直接`return`跳出`main()`。 题解列表 2022年11月14日 0 点赞 0 评论 551 浏览 评分:9.9
2757: 浮点数向零舍入(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float a; int b; scanf("%f",&a); b=a; printf("%d\n",b); …… 题解列表 2022年11月14日 0 点赞 1 评论 1959 浏览 评分:9.9
2755: 类型转换 解题思路:注意事项:参考代码:#includeintmain(){printf("DC\n");return0;} 题解列表 2022年11月14日 0 点赞 0 评论 1879 浏览 评分:6.0
杨辉三角, 三种方法: 组合数 || 递归 || 迭代,都很简单 #includelonglongFun(intn,intm)//组合数,注意大组合数{if(n 题解列表 2022年11月14日 0 点赞 0 评论 1283 浏览 评分:9.9