最简单解法【C++】 摘要:```cpp #include using namespace std; int uu; bool check(int year, int month, int day){ …… 题解列表 2022年03月25日 0 点赞 1 评论 358 浏览 评分:4.7
【C++】简单解答!! 摘要:```cpp #include using namespace std; long long n, sum = 0, m = 123456789; long long pow_num(l…… 题解列表 2022年03月25日 0 点赞 0 评论 414 浏览 评分:0.0
水题【C++】 摘要:```cpp #include using namespace std; int main(){ string s1; cin >> s1; for(int…… 题解列表 2022年03月25日 0 点赞 0 评论 397 浏览 评分:5.0
DFS插缝法(C++) 摘要:解题思路:在每个数字字符之间放入一个空位,利用dfs算法将k个'*'放入这些空位中。注意事项:当x>=2*n时,cnt!=k,则'*'并未全部放入,要直接返回参考代码:…… 题解列表 2022年03月25日 0 点赞 0 评论 337 浏览 评分:0.0
蓝桥杯算法提高VIP-特殊的质数肋骨 摘要:解题思路:注意事项:参考代码:#include<cstdio>#include<cmath>#include<iostream>using namespace std;int n;//判断素数bool…… 题解列表 2022年03月25日 0 点赞 0 评论 254 浏览 评分:0.0
编写题解 1011: [编程入门]最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int x,y,a,b,p; cin>>x>>y; for…… 题解列表 2022年03月25日 0 点赞 0 评论 293 浏览 评分:0.0
数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int x,i,k=0,g; cin>>x; g=x; fo…… 题解列表 2022年03月25日 0 点赞 0 评论 277 浏览 评分:9.9
信息学奥赛一本通T1602-烽火传递 摘要:数据太水,居然混过去了 ```cpp #include #include using namespace std; int n, m; int dp[200005]; int a[200…… 题解列表 2022年03月25日 0 点赞 0 评论 389 浏览 评分:5.2
蓝桥杯2020年第十一届省赛真题-数字三角形 摘要: #include using namespace std; int a[1000][1000], b[1000][1000]; int n; …… 题解列表 2022年03月24日 0 点赞 1 评论 410 浏览 评分:6.0
蓝桥杯2021年第十二届省赛真题-杨辉三角形 摘要:1.杨辉三角可以用组合数表示2.杨辉三角是对称的,可以只看前半部分3.将三角形斜过来观察,从下往上搜索#include <iostream>#include <cstring>#include <al…… 题解列表 2022年03月24日 0 点赞 0 评论 1265 浏览 评分:4.0