1024: [编程入门]矩阵对角线求和 摘要:```c #include int matrix[3][3];//定义矩阵 int main() { int i = 0,j=0,sum_main=0,sum_vice=0; for …… 题解列表 2022年11月14日 0 点赞 0 评论 302 浏览 评分:0.0
C语言 自定义函数求一元二次方程& 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ void delta_day_0(double delta, doub…… 题解列表 2022年11月14日 0 点赞 0 评论 299 浏览 评分:0.0
2024: 链表删除练习 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <stdlib.h> typedef struct Node { int data; …… 题解列表 2022年11月14日 0 点赞 0 评论 261 浏览 评分:0.0
C语言 自定义函数处理素数& 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ void judge_prime(int num); int num; …… 题解列表 2022年11月14日 0 点赞 0 评论 242 浏览 评分:0.0
编写题解 1000: [竞赛入门]简单的a+b 摘要:解题思路:参考提示代码注意事项:参考代码:#include<stdio.h> int main() { int a,b; while(~scanf("%d%d", &a, &b…… 题解列表 2022年11月14日 0 点赞 0 评论 260 浏览 评分:0.0
C语言训练-百钱百鸡问题-最简单的代码 摘要:解题思路:固定问题固定解,直接printf,多一个字符算我输注意事项:参考代码:#include<stdio.h>int main(){ printf("cock=0,hen=25,chicke…… 题解列表 2022年11月14日 0 点赞 0 评论 204 浏览 评分:0.0
编写题解 1093: 字符逆序加错误反思 摘要:解题思路:注意事项:之前代码没有考虑str[i] = getchar()) != EOF and i <= 100导致一直通过不了参考代码:char str[101]; int i; …… 题解列表 2022年11月14日 0 点赞 0 评论 180 浏览 评分:0.0
C语言 二维数组的转置& 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ void matrix_transpose(int* p_a); int a[3…… 题解列表 2022年11月14日 0 点赞 0 评论 230 浏览 评分:0.0
编写题解 1477: 字符串输入输出函数 摘要:解题思路:注意事项:参考代码:#include <stdio.h> void GetReal(); void GetString(); int main(int argc, char *ar…… 题解列表 2022年11月14日 0 点赞 0 评论 204 浏览 评分:0.0
1033: [编程入门]自定义函数之字符提取(超级简单) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char c[1000]; int i; gets(c); for(i=0;…… 题解列表 2022年11月14日 0 点赞 0 评论 303 浏览 评分:0.0