动态规划十行快速解题 摘要:解题思路:注意事项:参考代码:dp=[0 for i in range(1000000)]count=0a,b=map(int,input().split())dp[a]=dp[b]=1for i i…… 题解列表 2022年03月03日 0 点赞 0 评论 378 浏览 评分:0.0
程序员的表白(加油!无限拉大长板) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char c; int n,i,j; while(scanf("%d",&n)!=EOF) { for(j=0;…… 题解列表 2022年03月03日 0 点赞 0 评论 369 浏览 评分:0.0
1169: 绝对值排序(c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<stdlib.h> #include<math.h> //定义结构体指针 typedef struct or…… 题解列表 2022年03月03日 0 点赞 0 评论 374 浏览 评分:7.0
结构体之成绩统计2 摘要: ```cpp #include using namespace std; //结构体数组 //定义结构体 struct student { char id[50]; //学号…… 题解列表 2022年03月03日 0 点赞 0 评论 334 浏览 评分:0.0
python-密码锁 摘要:解题思路:广度搜索bfs。注意事项:参考代码:if __name__ == '__main__': n = int(input().strip()) s =…… 题解列表 2022年03月03日 1 点赞 0 评论 474 浏览 评分:9.9
题目 1668: printf基础练习2 摘要:解题思路:注意事项:无前缀方式:printf("%o",num) //无前缀o的8进制数printf("%d",num) //无前缀0d的10进制数printf("%x",num) //无前缀0…… 题解列表 2022年03月03日 0 点赞 0 评论 447 浏览 评分:0.0
蓝桥杯2020年第十一届省赛真题-数字三角形-java 摘要:解题思路:从上到下注意事项:最后一行分奇偶参考代码:import java.util.Arrays; import java.util.Scanner; public class Main { …… 题解列表 2022年03月03日 0 点赞 0 评论 556 浏览 评分:8.4
蓝桥杯基础练习VIP-2n皇后问题(N皇后问题之上再嵌套一个n皇后就行!) 摘要:#include<iostream>using namespace std;int a[100][100],n,ans=0;bool vis1[100],vis2[100];bool x1[100],…… 题解列表 2022年03月03日 0 点赞 0 评论 461 浏览 评分:0.0
Hifipsysta-2056-汉诺塔(C++代码) 摘要:```cpp #include using namespace std; void hanoi(int n, int A, int B, int C){ if(n==1){ …… 题解列表 2022年03月03日 0 点赞 0 评论 522 浏览 评分:0.0
排队打水问题--简单 摘要:解题思路:很简单,自己看看能不能看懂吧注意事项:打水时间是每个人的的等待时间和打水时间和,不是总共的打水时间和!!!参考代码:#include<iostream>#include<algorithm>…… 题解列表 2022年03月03日 0 点赞 0 评论 672 浏览 评分:9.9