没有什么用的找最大数 importjava.text.DecimalFormat;importjava.util.ArrayList;importjava.util.Collections;importjava.util.Scanner;publicclassMain{publicstaticvoidmain(String 题解列表 2021年04月23日 0 点赞 0 评论 601 浏览 评分:0.0
Sn的公式求和 摘要:解题思路:解法1:硬解发,直接循环相加,暴力求解&_&。解法2:先找规律,再编程。注意事项:Sn的公式求和参考代码:代码1:#include <stdio.h> int main() { …… 题解列表 2021年04月23日 0 点赞 0 评论 688 浏览 评分:0.0
阶乘求和[考虑变量类型数值溢出] 摘要:解题思路: 注意变量类型范围,可能会溢出;选long long数据类型;注意事项:阶乘求和类型名称 字节数 取值范围 signed char   题解列表 2021年04月23日 0 点赞 0 评论 701 浏览 评分: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 评论 576 浏览 评分: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 评论 883 浏览 评分:0.0
1042: [编程入门]电报加密 c语言 摘要:解题思路:注意事项:分开写出z的情况参考代码:#include<stdio.h>#include<string.h>int main(){ char str[100]={0}; int i…… 题解列表 2021年04月24日 0 点赞 0 评论 858 浏览 评分:0.0
1043: [编程入门]三个数字的排序(冒泡排序法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[3]={0};//对数组进行清空 int i,j; int t; scanf…… 题解列表 2021年04月24日 0 点赞 0 评论 662 浏览 评分:0.0
1044: [编程入门]三个字符串的排序c语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char c[100],d[100],e[100]; char …… 题解列表 2021年04月24日 0 点赞 0 评论 812 浏览 评分:0.0
编写题解 2002: 计算数字个数 python 摘要:解题思路:无注意事项:使用了try参考代码:s = input() flag = 0 for i in range(len(s)): try: if int(s[i])…… 题解列表 2021年04月24日 0 点赞 0 评论 562 浏览 评分:0.0
蓝桥杯历届试题-回文数字 python 摘要:解题思路:遍历,数字->字符串->列表,再与反转后判断注意事项:要注意不能直接用=,会修改原始列表数据!参考代码:num = int(input()) cnt = 0 for i in range…… 题解列表 2021年04月24日 0 点赞 0 评论 550 浏览 评分:0.0