python format格式化输出 摘要:n=int(input())a=[]sum=0for i in range(n): a.append(int(input())) sum+=a[i]print(max(a))print(m…… 题解列表 2023年03月22日 0 点赞 0 评论 492 浏览 评分:0.0
编写题解 1102: 明明的随机数 摘要:解题思路: 先排序再去重注意事项:参考代码:#include<stdio.h> void Srot(int* arr, int len); void Deduplication(int* arr,…… 题解列表 2023年03月22日 0 点赞 0 评论 484 浏览 评分:0.0
蓝桥杯算法训练VIP-s01串 摘要:解题思路:注意事项:不能只用s一个字符串,会混淆参考代码:n = int(input())a = '0's = '0'for i in range(n): a =…… 题解列表 2023年03月22日 0 点赞 0 评论 509 浏览 评分:0.0
巧用python datetime包解决以及打表输出ABABBABA型 摘要:解题思路:注意事项:参考代码:from datetime import datetime,timedeltan=input()a=int(n[:4])b=int(n[4]+n[5])c=int(n[6…… 题解列表 2023年03月22日 0 点赞 0 评论 474 浏览 评分:0.0
sort 和 二分 提一句 上面jcent的计数排序思路太秒了 很牛 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[100000];int m,n;//下面为二分模板 int search…… 题解列表 2023年03月22日 0 点赞 0 评论 513 浏览 评分:0.0
1315————田忌赛马(仿写题解) 摘要: import java.util.Scanner; import java.util.LinkedList; import java.util.Collections; …… 题解列表 2023年03月22日 0 点赞 0 评论 542 浏览 评分:0.0
字符串分类统计C++ 摘要:解题思路:采用for循环输入,用gets而不用cin可以 输入空格注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ in…… 题解列表 2023年03月22日 0 点赞 0 评论 407 浏览 评分:0.0
LikeWater - 1094: 字符串的输入输出处理 摘要:```cpp #include #include using namespace std; int main(){ int N; string str; cin>>N; g…… 题解列表 2023年03月22日 0 点赞 0 评论 396 浏览 评分:0.0
求和训练C++ 摘要:解题思路:采用多重for循环进行三次循环相加注意事项:结尾输出必须采用精确小数点函数,否则会因为float限制而造成输出一位小数参考代码:#include<bits/stdc++.h>using na…… 题解列表 2023年03月22日 0 点赞 0 评论 428 浏览 评分:0.0
大数整除:竖式法计算 摘要:  #include #include #include …… 题解列表 2023年03月22日 0 点赞 0 评论 505 浏览 评分:0.0