编写题解 3020: 最大数位置 摘要:public static void main(String args[]) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(…… 题解列表 2024年01月30日 0 点赞 0 评论 467 浏览 评分: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 评论 312 浏览 评分:0.0
编写题解 1738: 排序 摘要:package test; //题目 1738: 排序 import java.util.Scanner; public class t_1738 { public static void …… 题解列表 2024年01月30日 0 点赞 0 评论 352 浏览 评分:0.0
编写题解 2834: 与指定数字相同的数的个数 摘要:参考代码:package arrLast; //题目 2834: 与指定数字相同的数的个数 import java.util.Scanner; public class t_2834 { p…… 题解列表 2024年01月30日 1 点赞 0 评论 394 浏览 评分:0.0
编写题解 1098: 陶陶摘苹果 摘要:参考代码:public static void main(String args[]) { Scanner sc=new Scanner (System.in); int []arr=ne…… 题解列表 2024年01月30日 0 点赞 0 评论 263 浏览 评分:0.0
编写题解 2835: 计算书费 摘要:参考代码:public static void main(String args[]) { Scanner sc=new Scanner(System.in); double []arr=…… 题解列表 2024年01月30日 0 点赞 0 评论 315 浏览 评分:0.0
贪心不是正解 摘要:样例612 23 25 25 50 50输出 160结果 150数据太弱导致题解全是错解,希望官方大大给出正解…… 题解列表 2024年01月30日 0 点赞 2 评论 442 浏览 评分:9.9
编写题解 2834: 与指定数字相同的数的个数 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std;int main(){int len[101]={0};int N,M,num;cin>>N…… 题解列表 2024年01月31日 0 点赞 0 评论 535 浏览 评分:0.0
输出数字位数,并按位输出,再逆序输出。 摘要:解题思路:注意事项:参考代码:void main(){ int a; int i=0,divisor = 10; int array[5]; int trunNum = 0; …… 题解列表 2024年01月31日 0 点赞 0 评论 297 浏览 评分:0.0
递归全局变量 摘要:#define _CRT_SECURE_NO_WARNINGS #include int s = 0; int k; int power(int n, int i) { if (i …… 题解列表 2024年01月31日 0 点赞 0 评论 364 浏览 评分:0.0