1831: 蓝桥杯2015年第六届真题-机器人繁殖 摘要:解题思路:注意事项:参考代码:n,s=map(int,input().split()) def f(n,x): ls=[x] for i in range(n): …… 题解列表 2022年04月29日 0 点赞 0 评论 471 浏览 评分:6.0
三行代码解决 摘要:解题思路:扩展欧几里得算法参考代码:#include<iostream> using namespace std; int main() { int a,b; cin>>a>>b; …… 题解列表 2022年05月06日 0 点赞 0 评论 399 浏览 评分:6.0
排序 题解(c++)(sort) 摘要:解题思路:直接用sort排序。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int n,a[1005];int main(){ w…… 题解列表 2022年05月07日 0 点赞 0 评论 453 浏览 评分:6.0
保留字母(C++代码) 摘要:解题思路:只需要判断是否位英文字母来进行输出就可以很方便的完成这道题;注意事项:我不知道有没有空格,但用getline会更保险;要判断大小写;参考代码:#include<bits/stdc++.h>/…… 题解列表 2022年05月07日 0 点赞 0 评论 334 浏览 评分:6.0
密码破译 题解(c++超简单) 摘要:解题思路:用ASCII表的位置来转换。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;string s;int main(){ cin>>…… 题解列表 2022年05月08日 0 点赞 0 评论 760 浏览 评分:6.0
编写题解 1081: Infinite Dictionaries 摘要:#include<vector> #include<map> #include<string> #include<cstring> #include<cstdio> #include<c…… 题解列表 2022年05月08日 0 点赞 0 评论 507 浏览 评分:6.0
信息学奥赛一本通T1252-走迷宫 摘要:``` #include #define x first #define y second using namespace std; typedef pair pii; …… 题解列表 2022年05月08日 0 点赞 0 评论 493 浏览 评分:6.0
积木画(c++) 摘要:```cpp #include using namespace std; typedef long long ll; const int N=1e7+5; const int MOD=1e9…… 题解列表 2022年05月09日 0 点赞 0 评论 1544 浏览 评分:6.0
砍竹子(C++实现) 摘要:```cpp #include using namespace std; typedef long long ll; const int N=2e5+5; int n; ll a[N][1…… 题解列表 2022年05月09日 0 点赞 0 评论 1400 浏览 评分:6.0
1671: 小九九 摘要:解题思路:注意事项:乘积占两位参考代码:#include<bits/stdc++.h>using namespace std;long long a;int main(){ for(int i=1;i…… 题解列表 2022年05月09日 0 点赞 0 评论 314 浏览 评分:6.0