题解列表

筛选

 编写题解 1098: 陶陶摘苹果

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int i,a[10];    for(i=0;i<10;i++)    {        scanf("……

Hello, World!(C++)

摘要:#include<iostream>using namespace std;int main(){   cout<<"Hello, World!"<<endl;    return 0;}……

编写题解 2764: 带余除法

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int a,b;    scanf("%d%d", &a, &b);    printf("%d ",a/……

编写题解 1267: A+B Problem

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int a,b;    scanf("%d%d", &a, &b);    printf("%d\n",a……

很简单且易懂的求阶乘

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int f(a){    int i,m=1;    for(i=1;i<=a;i++)    {        m*=i;    } ……

题目 1023: [编程入门]选择排序

摘要:解题思路:冒泡排序注意事项:参考代码:/*题目 1023: [编程入门]选择排序题目描述用选择法对10个整数从小到大排序。输入格式输入10个无序的数字*/#include<stdio.h>int ma……
优质题解

崭新出厂,好摩易懂,可小刀

摘要:解题思路:1、定义结构体,并定义结构体变量               2、闰年:普通闰年:公历年份是4的倍数,且不是100的倍数的,为闰年(如2004年、2020年等就是闰年)。世纪闰年:公历年份是……