题解列表

筛选

数据类型的范围问题

摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_DEPRECATE#pragma warning(disable:4996)#include<stdio.h>long lo……

Little Ke&#039;s problem Python解决

摘要:解题思路:    简单的变量存储值并输出参考代码:input_a = input()print("What is your name? Hello "+input_a+", nice to meet ……

排序----插入排序

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define _CRT_SECURE_NO_DEPRECATE#pragma warning(disable:4996)#define……

[编程入门]数字的处理与判断

摘要:解题思路:        看注释即可。注释是本人解决本题的心路历程。(有点杂,凑合看吧。)注意事项:参考代码:#include<stdio.h> int main() {     int x1,……

迭代法求平方根,新手C语言代码

摘要:解题思路:Xn与X(n-1)的差值来做迭代法注意事项:第一次插值为正,后面为负。使用double的fabs()来求得绝对值,需#include<math.h>的头文件。参考代码:#include<st……

c语言之买不到的数目(20行代码)!!!

摘要:解题思路:运用枚举,从大往小找,当找到一个无法组合的数输出。注意事项:该代码可能效率一般,但新手容易理解,适合大众学习和初学人。参考代码:#include<stdio.h>int main(){   ……

zhongshusssssssssss1

摘要:解题思路:注意事项:参考代码:#include "stdio.h"int main(){ int n; scanf("%d", &n); int num[100]; for (int i = 0; i……