题解 1182: 人民币问题 摘要:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int n; int x=0; scanf("%d",&n); n-=8; …… 题解列表 2021年04月21日 0 点赞 0 评论 345 浏览 评分:0.0
最小绝对值 c语言 摘要:解题思路:运用头函数math.h 中的fabs来比较绝对值注意事项:参考代码:#include<stdio.h>#include<math.h>int compare(int a[]){ int…… 题解列表 2021年04月22日 0 点赞 0 评论 400 浏览 评分:0.0
字符分类统计 摘要:解题思路:思路1:利用<ctype.h>库中的函数,判断字符的ascii码是否为字母(isalpha),数字(isdigit),空格或其他; 思路2:直接利用每个字符是属…… 题解列表 2021年04月22日 0 点赞 0 评论 427 浏览 评分:0.0
没有什么用的找最大数 摘要:import java.text.DecimalFormat;import java.util.ArrayList;import java.util.Collections;import java.u…… 题解列表 2021年04月23日 0 点赞 0 评论 366 浏览 评分:0.0
Sn的公式求和 摘要:解题思路:解法1:硬解发,直接循环相加,暴力求解&_&。解法2:先找规律,再编程。注意事项:Sn的公式求和参考代码:代码1:#include <stdio.h> int main() { …… 题解列表 2021年04月23日 0 点赞 0 评论 335 浏览 评分:0.0
阶乘求和[考虑变量类型数值溢出] 摘要:解题思路: 注意变量类型范围,可能会溢出;选long long数据类型;注意事项:阶乘求和类型名称 字节数 取值范围 signed char   题解列表 2021年04月23日 0 点赞 0 评论 270 浏览 评分:0.0
有惊喜 c语言 摘要:解题思路:运用了数组收纳;注意事项:参考代码:#include<stdio.h>int song(int a[]){ int i,j=0; for(i=1;i<40;i++) { …… 题解列表 2021年04月23日 0 点赞 0 评论 309 浏览 评分:0.0
编写题解 1040: [编程入门]实数的打印 摘要:解题思路:注意事项:换行的操作不可忘参考代码:#include<stdio.h>int main(){ float n; int i,j; scanf("%f",&n); for(i=1;i<=3;i…… 题解列表 2021年04月24日 0 点赞 0 评论 597 浏览 评分:0.0
1042: [编程入门]电报加密 c语言 摘要:解题思路:注意事项:分开写出z的情况参考代码:#include<stdio.h>#include<string.h>int main(){ char str[100]={0}; int i…… 题解列表 2021年04月24日 0 点赞 0 评论 598 浏览 评分:0.0
1043: [编程入门]三个数字的排序(冒泡排序法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[3]={0};//对数组进行清空 int i,j; int t; scanf…… 题解列表 2021年04月24日 0 点赞 0 评论 407 浏览 评分:0.0