编写题解 1023: [编程入门]选择排序 摘要:解题思路:输入直接排序注意事项:参考代码:#include<stdio.h>int main(){ int an[10]; int temp = 0; int t; for (int i = 0; i…… 题解列表 2022年04月16日 0 点赞 0 评论 359 浏览 评分:0.0
Java 代码解题代码参考 摘要:解题思路:用数组读入,逆序输出即可注意事项:注意加上空格符输出参考代码:import java.util.Scanner;public class Main { public static…… 题解列表 2022年04月16日 0 点赞 0 评论 504 浏览 评分:0.0
利用多重循环结合限制条件来判断 摘要:解题思路:注意事项:寻找最省时的解决思路,避免超时参考代码:#include<stdio.h>int main(){ int i,j,a,sum1,sum2; for(i=2;i<=300…… 题解列表 2022年04月16日 0 点赞 0 评论 528 浏览 评分:0.0
1149: C语言训练-计算1~N之间所有奇数之和(C++) 摘要:解题思路:运用取模的方法判断是否为奇数注意事项:参考代码:#include<iostream> using namespace std; int main() { int n,s=0,…… 题解列表 2022年04月16日 0 点赞 0 评论 560 浏览 评分:0.0
1011: [编程入门]最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int G(int a,int b){ if(b==0) return a; return G(b,a%b);}int main(){…… 题解列表 2022年04月16日 0 点赞 0 评论 492 浏览 评分:0.0
多重循环寻找符合题意的约束条件并输出 摘要:解题思路:多重循环寻找符合题意的约束条件并输出注意事项:参考代码:#include<stdio.h>int main(void){ int a,b,c,d,e,f; for(a=0;a<=1;a++)…… 题解列表 2022年04月17日 0 点赞 0 评论 483 浏览 评分:0.0
[编程入门]结构体之成绩统计2 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct student{ char num[100]; char name[100]; int score[3]…… 题解列表 2022年04月17日 0 点赞 0 评论 471 浏览 评分:0.0
纯新手,来看看呀QAQ 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i,j,k; char a[100],b[100]; gets(a); for…… 题解列表 2022年04月17日 0 点赞 0 评论 347 浏览 评分:0.0
简简单单,照着题目思路去做,就很自然 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,a,i,j,k,sum; scanf("%d",&n); a=n*n*n; …… 题解列表 2022年04月17日 0 点赞 0 评论 430 浏览 评分:0.0
哈哈嗨,简单捏 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n; scanf("%d",&n); int a[n]; a[0]=1; …… 题解列表 2022年04月17日 0 点赞 0 评论 328 浏览 评分:0.0