sn公式求和的巧妙易懂解法 摘要:解题思路:根据各相加项规律,巧妙利用数组进行求和注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,i,sum=0; …… 题解列表 2024年01月30日 0 点赞 0 评论 147 浏览 评分:9.9
编写题解 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 评论 183 浏览 评分:0.0
编写题解 3020: 最大数位置 摘要:public static void main(String args[]) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(…… 题解列表 2024年01月30日 0 点赞 0 评论 362 浏览 评分: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 评论 212 浏览 评分:0.0
编写题解 1738: 排序 摘要:package test; //题目 1738: 排序 import java.util.Scanner; public class t_1738 { public static void …… 题解列表 2024年01月30日 0 点赞 0 评论 229 浏览 评分:0.0
编写题解 2834: 与指定数字相同的数的个数 摘要:参考代码:package arrLast; //题目 2834: 与指定数字相同的数的个数 import java.util.Scanner; public class t_2834 { p…… 题解列表 2024年01月30日 1 点赞 0 评论 293 浏览 评分:0.0
编写题解 1098: 陶陶摘苹果 摘要:参考代码:public static void main(String args[]) { Scanner sc=new Scanner (System.in); int []arr=ne…… 题解列表 2024年01月30日 0 点赞 0 评论 172 浏览 评分:0.0
编写题解 2835: 计算书费 摘要:参考代码:public static void main(String args[]) { Scanner sc=new Scanner(System.in); double []arr=…… 题解列表 2024年01月30日 0 点赞 0 评论 238 浏览 评分:0.0
贪心不是正解 摘要:样例612 23 25 25 50 50输出 160结果 150数据太弱导致题解全是错解,希望官方大大给出正解…… 题解列表 2024年01月30日 0 点赞 2 评论 338 浏览 评分: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 评论 426 浏览 评分:0.0