编写题解 3020: 最大数位置 摘要:public static void main(String args[]) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(…… 题解列表 2024年01月30日 0 点赞 0 评论 547 浏览 评分: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 评论 377 浏览 评分:0.0
编写题解 1738: 排序 摘要:package test; //题目 1738: 排序 import java.util.Scanner; public class t_1738 { public static void …… 题解列表 2024年01月30日 0 点赞 0 评论 432 浏览 评分:0.0
编写题解 1098: 陶陶摘苹果 摘要:参考代码:public static void main(String args[]) { Scanner sc=new Scanner (System.in); int []arr=ne…… 题解列表 2024年01月30日 0 点赞 0 评论 346 浏览 评分:0.0
编写题解 2835: 计算书费 摘要:参考代码:public static void main(String args[]) { Scanner sc=new Scanner(System.in); double []arr=…… 题解列表 2024年01月30日 0 点赞 0 评论 391 浏览 评分: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 评论 603 浏览 评分:0.0
输出数字位数,并按位输出,再逆序输出。 摘要:解题思路:注意事项:参考代码:void main(){ int a; int i=0,divisor = 10; int array[5]; int trunNum = 0; …… 题解列表 2024年01月31日 0 点赞 0 评论 362 浏览 评分: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 评论 435 浏览 评分:0.0
最小绝对值 摘要:解题思路:拿到最小值与最小值下标,再逐个比较,拿到更小值的下标即可最后交换最小值与最后一个数注意事项:需要把0也考虑进去参考代码:#include<iostream>using namespace s…… 题解列表 2024年01月31日 0 点赞 0 评论 513 浏览 评分:0.0
津津的储蓄计划 摘要:解题思路:数组与for循环注意事项:参考代码:int main(){ int m1[12] = { 0 }; int m2[13] = { 300,0,0,0,0,0,0,0,0,0,0,0,0 };…… 题解列表 2024年01月31日 0 点赞 0 评论 421 浏览 评分:0.0