【基础】思维数字的处理与判断 摘要:解题思路:按照题目给的限制不超过5位数进行解答可以使用if-else if进行解答先给定范围判断为几位数,得出结论后进行单个数字拆解,最后做一个逆序输出即可按照小白入门解法代码较多且比较磨人注意事项:…… 题解列表 2023年12月13日 0 点赞 0 评论 568 浏览 评分:10.0
C++代码实现 摘要:解题思路:sort排序,C++代码实现注意事项:参考代码:#include<iostream>#include<algorithm>#include<string>using namespace st…… 题解列表 2023年12月13日 0 点赞 0 评论 323 浏览 评分:0.0
直接格式输出 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); printf("%o",n); retur…… 题解列表 2023年12月12日 1 点赞 0 评论 772 浏览 评分:9.9
2880: 计算鞍点 摘要:``` #include using namespace std; const int N=1000,M=100000; int a[N][N],dx[6],dy[6]; int main(…… 题解列表 2023年12月12日 0 点赞 0 评论 348 浏览 评分:0.0
遍历三位数暴力解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ for(int i=100;i<1000;i++) { int k=i; …… 题解列表 2023年12月12日 0 点赞 0 评论 331 浏览 评分:9.9
动态规划-松散子序列java 摘要: import java.util.Scanner; public class Main{ public static void main(String[] args){ …… 题解列表 2023年12月12日 0 点赞 0 评论 607 浏览 评分:6.0
要用long long 摘要:解题思路:注意事项:参考代码:#include<stdio.h>long long cal(int i){ if(i==1) { return 1; }else{ …… 题解列表 2023年12月12日 0 点赞 0 评论 311 浏览 评分:9.9
2909: 直方图 C++ 摘要:解题思路:注意事项:const int 常量(不会改变)cnt[a[i]] cnt 数量参考代码:#include<bits/stdc++.h>using namespace std…… 题解列表 2023年12月12日 0 点赞 0 评论 338 浏览 评分:0.0
编写题解 1505: 蓝桥杯算法提高VIP-单词个数统计 摘要:解题思路:注意事项:参考代码:word_list = list(input().split()) print(len(word_list))…… 题解列表 2023年12月12日 0 点赞 0 评论 443 浏览 评分:0.0
用头文件更快捷 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<ctype.h>int main(){ char s[300]; ge…… 题解列表 2023年12月12日 0 点赞 0 评论 372 浏览 评分:6.0