排序 题解(c++)(sort) 摘要:解题思路:直接用sort排序。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int n,a[1005];int main(){ w…… 题解列表 2022年05月07日 0 点赞 0 评论 449 浏览 评分:6.0
保留字母(C++代码) 摘要:解题思路:只需要判断是否位英文字母来进行输出就可以很方便的完成这道题;注意事项:我不知道有没有空格,但用getline会更保险;要判断大小写;参考代码:#include<bits/stdc++.h>/…… 题解列表 2022年05月07日 0 点赞 0 评论 332 浏览 评分:6.0
密码破译 题解(c++超简单) 摘要:解题思路:用ASCII表的位置来转换。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;string s;int main(){ cin>>…… 题解列表 2022年05月08日 0 点赞 0 评论 758 浏览 评分:6.0
编写题解 1081: Infinite Dictionaries 摘要:#include<vector> #include<map> #include<string> #include<cstring> #include<cstdio> #include<c…… 题解列表 2022年05月08日 0 点赞 0 评论 500 浏览 评分:6.0
信息学奥赛一本通T1252-走迷宫 摘要:``` #include #define x first #define y second using namespace std; typedef pair pii; …… 题解列表 2022年05月08日 0 点赞 0 评论 490 浏览 评分: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 评论 1537 浏览 评分: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 评论 1390 浏览 评分: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 评论 310 浏览 评分:6.0
[编程入门]电报加密 摘要:解题思路:因为字母变成其下一字母,会用到一堆字符,所以要用字符串,将是字母的转换,不是字母的不转换注意事项:将是字母的转换,不是字母的不转换参考代码:#include<bits/stdc++.h> …… 题解列表 2022年05月10日 0 点赞 0 评论 429 浏览 评分:6.0
确定不来看看? 摘要:解题思路:把当前月之前天数加起来 再加上当前日期注意事项:日期需要正确输入参考代码:#include <stdio.h>int main(){ int x,y,s=0; scanf("%d%d",&x…… 题解列表 2022年05月10日 0 点赞 1 评论 242 浏览 评分:6.0