纸张尺寸(python硬核解法) 摘要:解题思路:给定了初始纸张的尺寸,后面按照思路一步一步来就行,直接看注释参考代码:import math #因为题目要求向下取整,所以要导入math模块 p = list(input())…… 题解列表 2023年12月13日 0 点赞 0 评论 278 浏览 评分:0.0
【基础】思维数字的处理与判断 摘要:解题思路:按照题目给的限制不超过5位数进行解答可以使用if-else if进行解答先给定范围判断为几位数,得出结论后进行单个数字拆解,最后做一个逆序输出即可按照小白入门解法代码较多且比较磨人注意事项:…… 题解列表 2023年12月13日 0 点赞 0 评论 319 浏览 评分:10.0
C++代码实现 摘要:解题思路:sort排序,C++代码实现注意事项:参考代码:#include<iostream>#include<algorithm>#include<string>using namespace st…… 题解列表 2023年12月13日 0 点赞 0 评论 181 浏览 评分:0.0
直接格式输出 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); printf("%o",n); retur…… 题解列表 2023年12月12日 0 点赞 0 评论 570 浏览 评分: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 评论 194 浏览 评分:0.0
遍历三位数暴力解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ for(int i=100;i<1000;i++) { int k=i; …… 题解列表 2023年12月12日 0 点赞 0 评论 175 浏览 评分:9.9
动态规划-松散子序列java 摘要: import java.util.Scanner; public class Main{ public static void main(String[] args){ …… 题解列表 2023年12月12日 0 点赞 0 评论 466 浏览 评分:6.0
要用long long 摘要:解题思路:注意事项:参考代码:#include<stdio.h>long long cal(int i){ if(i==1) { return 1; }else{ …… 题解列表 2023年12月12日 0 点赞 0 评论 141 浏览 评分:9.9
2909: 直方图 C++ 摘要:解题思路:注意事项:const int 常量(不会改变)cnt[a[i]] cnt 数量参考代码:#include<bits/stdc++.h>using namespace std…… 题解列表 2023年12月12日 0 点赞 0 评论 191 浏览 评分:0.0
编写题解 1505: 蓝桥杯算法提高VIP-单词个数统计 摘要:解题思路:注意事项:参考代码:word_list = list(input().split()) print(len(word_list))…… 题解列表 2023年12月12日 0 点赞 0 评论 209 浏览 评分:0.0