二级C语言-阶乘数列 摘要:解题思路:可利用两个for循环求解此题,即外部for循环遍历每一个数内部for循环用于求出每个数的阶乘最后输出时使用科学计数法即可%e,保留两位小数注意事项:使用时需要把ab均定义为double参考代…… 题解列表 2024年01月30日 0 点赞 0 评论 284 浏览 评分:0.0
编写题解 1092: A+B for Input-Output Practice 摘要:public class t_1089 { public static void main(String args[]) { Scanner sc=new Scanner(System.in);…… 题解列表 2024年01月30日 0 点赞 0 评论 257 浏览 评分:0.0
编写题解 3020: 最大数位置 摘要:public static void main(String args[]) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(…… 题解列表 2024年01月30日 0 点赞 0 评论 425 浏览 评分:0.0
2218: 蓝桥杯算法训练-二进制数数 摘要:解题思路:注意事项:参考代码:a,b=map(int,input().split())s=[]s2=[]for i in range(a,b+1): c=bin(i) s.append(c…… 题解列表 2024年01月30日 0 点赞 0 评论 272 浏览 评分:0.0
编写题解 1738: 排序 摘要:package test; //题目 1738: 排序 import java.util.Scanner; public class t_1738 { public static void …… 题解列表 2024年01月30日 0 点赞 0 评论 302 浏览 评分:0.0
编写题解 2834: 与指定数字相同的数的个数 摘要:参考代码:package arrLast; //题目 2834: 与指定数字相同的数的个数 import java.util.Scanner; public class t_2834 { p…… 题解列表 2024年01月30日 1 点赞 0 评论 359 浏览 评分:0.0
编写题解 1098: 陶陶摘苹果 摘要:参考代码:public static void main(String args[]) { Scanner sc=new Scanner (System.in); int []arr=ne…… 题解列表 2024年01月30日 0 点赞 0 评论 226 浏览 评分:0.0
编写题解 2835: 计算书费 摘要:参考代码:public static void main(String args[]) { Scanner sc=new Scanner(System.in); double []arr=…… 题解列表 2024年01月30日 0 点赞 0 评论 290 浏览 评分:0.0
编写题解 2834: 与指定数字相同的数的个数 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std;int main(){int len[101]={0};int N,M,num;cin>>N…… 题解列表 2024年01月31日 0 点赞 0 评论 497 浏览 评分:0.0
输出数字位数,并按位输出,再逆序输出。 摘要:解题思路:注意事项:参考代码:void main(){ int a; int i=0,divisor = 10; int array[5]; int trunNum = 0; …… 题解列表 2024年01月31日 0 点赞 0 评论 263 浏览 评分:0.0