蓝桥杯算法提高VIP-邮票面值设计 摘要:```cpp #include #include #include using namespace std; int n, k,ans; int a[15], dp[10005];//dp…… 题解列表 2022年03月28日 0 点赞 0 评论 565 浏览 评分:10.0
新手,感兴趣来看看 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void link(char a[],char b[]);int main(){ char a[100]; char b[10…… 题解列表 2022年03月28日 0 点赞 0 评论 325 浏览 评分:0.0
最大公约数与最小公倍数(简化) 摘要:解题思路:辗转相除法求得最大公约数,再求得最小公倍数。注意事项:参考代码:#include <stdio.h>int main(){ int a,b; int t; scanf("%d %d", &…… 题解列表 2022年03月28日 0 点赞 0 评论 384 浏览 评分:9.9
题解 2021: 坐标排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h> void swap(int a[], int b[]) //交换 { int i,k=0; for(…… 题解列表 2022年03月28日 0 点赞 0 评论 396 浏览 评分:0.0
优质题解 信息学奥赛一本通T1456-图书管理:啊哈,这道题根本不用哈希,我就是奔着STL来的 摘要:这道题真的是用来练哈希表的无疑但是这道题真的用哈希吗?答案是:不用!我们都学过STL没学过去看一下,stack,queue,seet,map,这道题的书名还小于200:正是启用map的好时机!map:…… 题解列表 2022年03月28日 0 点赞 2 评论 1200 浏览 评分:8.7
java 任意年月日历输出(GregorianCalendar日历类获取每月天数和每月第一天是星期几) 摘要:话不多说,直接看代码 ```java import java.io.BufferedReader; import java.io.IOException; import java.io.Inp…… 题解列表 2022年03月28日 0 点赞 0 评论 790 浏览 评分:0.0
数组算法,用了两for一while,应该是最简单易懂的了(C语言,详细注释) 摘要:解题思路:利用数组进行乘法计算注意事项:参考代码:#includeint main(){ int a[8000]={[0 ... 7999]=-1}; int save,n;//save:…… 题解列表 2022年03月28日 0 点赞 0 评论 641 浏览 评分:9.9
python-日期问题 摘要:```python date=input().split("/") numlist=[] year=date[0] month=date[1] day=date[2] def func…… 题解列表 2022年03月28日 0 点赞 0 评论 390 浏览 评分:6.0
超级简单版【c++】 摘要:````cpp #include using namespace std; int months[] = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, …… 题解列表 2022年03月28日 0 点赞 0 评论 359 浏览 评分:9.0
编写题解 1204: 大小写转换 摘要:解题思路:注意事项:参考代码:#include<iostream>#include <iomanip>#include<ctype.h>using namespace std;int main(){ …… 题解列表 2022年03月28日 0 点赞 0 评论 429 浏览 评分:0.0