一个简单的方法 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main(){ int n; scanf("%d",&n); while(n>0) { …… 题解列表 2023年07月06日 0 点赞 0 评论 459 浏览 评分:0.0
求矩阵的两对角线上的元素之和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10][10]; int N; int x,y; int sum =0; …… 题解列表 2023年07月06日 0 点赞 0 评论 431 浏览 评分:4.0
数字逆序输出 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10]; int i; int c; for (i=0;i<10;i++) …… 题解列表 2023年07月06日 0 点赞 0 评论 445 浏览 评分:0.0
公约公倍数代码 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int max(int m,int n){ int r; while(m%n) { r=m%n; …… 题解列表 2023年07月06日 0 点赞 0 评论 478 浏览 评分:9.9
三元运算简单解决 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d %d %d",&a,&b,&c); printf("…… 题解列表 2023年07月06日 0 点赞 0 评论 508 浏览 评分:9.9
简简单单一行搞定 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ printf("**************************\nHello World!\n***…… 题解列表 2023年07月06日 0 点赞 0 评论 489 浏览 评分:9.9
一看就懂,简单解决 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int a, b; while (scanf("%d%d", &a, &b) == 2) { …… 题解列表 2023年07月06日 0 点赞 0 评论 599 浏览 评分:9.9
负值 平均值 正值 代码 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[20]; float b=0; int c=0; double j=0; …… 题解列表 2023年07月06日 0 点赞 0 评论 486 浏览 评分:0.0
懒人求解法 摘要:解题思路:数组快速计算结果注意事项:数组不要越界访问参考代码:#include<stdio.h>int main(){ int a[9],b; for(b=0;b<9;b++) { …… 题解列表 2023年07月06日 0 点赞 0 评论 478 浏览 评分:9.9
1044题 : 三个字符串的排序 #自己写的代码(没有写完,代码不好)```c#include#includeintmain(){chara[20],b[20],c[20];gets(a);gets(b);gets(c);intlen1;len1=strlen(a);for(inti=0;ib[i]&&b[i]>c[i]){print 题解列表 2023年07月05日 0 点赞 0 评论 501 浏览 评分:0.0