1001: [编程入门]第一个HelloWorld程序 摘要:解题思路:这题并不是很难,考察细心程度。我们可以先定义一个输出*的函数后调用。注意事项:注意一定要看清题目要求的输出,注意细节,参考代码:#include<stdio.h>void fun(){ fo…… 题解列表 2021年11月10日 0 点赞 1 评论 265 浏览 评分:8.4
用最基础的知识解决这道题 摘要:解题思路:用最基础的方法来求每一位的数字是什么,依次输出就可以了参考代码:#include<iostream>using namespace std;int main(){ int n,a,b,c,d…… 题解列表 2021年11月10日 0 点赞 0 评论 711 浏览 评分:9.9
1140不可投机取巧 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a, b, c, d; int i; for (i = 95860 ; i <= 99…… 题解列表 2021年11月10日 0 点赞 0 评论 321 浏览 评分:0.0
[编程入门]实数的打印 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main(){ float num; //定义数字,类型为 float 题解列表 2021年11月10日 0 点赞 0 评论 163 浏览 评分:0.0
[编程入门]自定义函数之字符类型统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h> void statistics(char *str, int *num_char, int *nu…… 题解列表 2021年11月10日 0 点赞 0 评论 237 浏览 评分:0.0
[编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h> int exchange(char a[],char b[]){ int i,l,j = 0…… 题解列表 2021年11月10日 0 点赞 0 评论 194 浏览 评分:0.0
[编程入门]自定义函数处理最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int fun1(int m,int n); //这要声明两个函数。也可以像下面那样写int fun2(int m,int n);…… 题解列表 2021年11月10日 0 点赞 0 评论 369 浏览 评分:0.0
[编程入门]选择排序 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS 1#include<stdio.h>#define M 10int main(){ int a[M],…… 题解列表 2021年11月10日 0 点赞 0 评论 153 浏览 评分:0.0
编程入门 输出三个数的最大值 摘要:解题思路:利用打擂台的方式把输入的其中一个数放在一个最大值max,然后一次进行比较,大的继续留在max里面,小的则被淘汰注意事项:参考代码:#include<stdio.h>int main(){ i…… 题解列表 2021年11月10日 0 点赞 1 评论 811 浏览 评分:9.9
编程入门]猴子吃桃的问题 摘要:解题思路:注意事项:参考代码:# include <stdio.h> int main(){ int sum=1,N; scanf("%d",&N); while(--N) …… 题解列表 2021年11月10日 0 点赞 0 评论 327 浏览 评分:9.9