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 评论 287 浏览 评分:0.0
遍历三位数暴力解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ for(int i=100;i<1000;i++) { int k=i; …… 题解列表 2023年12月12日 0 点赞 0 评论 266 浏览 评分:9.9
动态规划-松散子序列java 摘要: import java.util.Scanner; public class Main{ public static void main(String[] args){ …… 题解列表 2023年12月12日 0 点赞 0 评论 542 浏览 评分:6.0
要用long long 摘要:解题思路:注意事项:参考代码:#include<stdio.h>long long cal(int i){ if(i==1) { return 1; }else{ …… 题解列表 2023年12月12日 0 点赞 0 评论 244 浏览 评分:9.9
2909: 直方图 C++ 摘要:解题思路:注意事项:const int 常量(不会改变)cnt[a[i]] cnt 数量参考代码:#include<bits/stdc++.h>using namespace std…… 题解列表 2023年12月12日 0 点赞 0 评论 281 浏览 评分:0.0
编写题解 1505: 蓝桥杯算法提高VIP-单词个数统计 摘要:解题思路:注意事项:参考代码:word_list = list(input().split()) print(len(word_list))…… 题解列表 2023年12月12日 0 点赞 0 评论 375 浏览 评分:0.0
用头文件更快捷 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<ctype.h>int main(){ char s[300]; ge…… 题解列表 2023年12月12日 0 点赞 0 评论 306 浏览 评分:6.0
c语言递归解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int gcd(int a,int b){ (a%b==0) ? return b : return gcd(b,a%b)…… 题解列表 2023年12月12日 0 点赞 0 评论 272 浏览 评分:9.9
题解 1738: 排序 摘要:下面是选择排序 #include using namespace std; int a[5010]; int main() { int n; …… 题解列表 2023年12月12日 0 点赞 1 评论 413 浏览 评分:9.9
1738: 排序 C++! 摘要:解题思路:std::sort 最坏时间复杂度0(nlogn)注意事项:参考代码:#includeusing namespace std;int a[5000];int main(){ int n;…… 题解列表 2023年12月12日 1 点赞 0 评论 341 浏览 评分:0.0