1035: [编程入门]自定义函数之字符类型统计 摘要:解题思路:简单来说,就是判断。注意事项:无参考代码:#include<bits/stdc++.h> using namespace std; #define max 1000 void prin…… 题解列表 2022年06月25日 0 点赞 0 评论 362 浏览 评分:9.9
两句话搞定 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; while (cin >> a) { cout << …… 题解列表 2022年06月24日 0 点赞 0 评论 939 浏览 评分:9.9
尽量详细的解答 53行 内存1084 耗时0ms 摘要:随便写写,解释都写在代码里了。 ```cpp #include//输入输出用的 inline int read()//速读 习惯问题,可以用cin或scanf代替 { int x=0,f=1;…… 题解列表 2022年06月24日 0 点赞 0 评论 439 浏览 评分:9.9
编写题解 2549: 单词统计 为数不多的c++ 摘要:```cpp #include using namespace std; int main() { string s1,s2; int n,m,i,j,cnt=0,pos=0; c…… 题解列表 2022年06月23日 0 点赞 0 评论 578 浏览 评分:0.0
1733: 堆栈的使用 答案太少,凑数的 摘要:```cpp #include using namespace std; int main() { int n; while(cin >> n) { …… 题解列表 2022年06月23日 0 点赞 0 评论 456 浏览 评分:0.0
2513: 信息学奥赛一本通T1615-序列的第 k 个数 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;const long long M=200907;long long quickpow(lo…… 题解列表 2022年06月23日 0 点赞 0 评论 595 浏览 评分:0.0
贝叶斯乱搞 摘要:解题思路:妥妥的贝叶斯公式套一套即可得出答案,不过要先算出在所有故障发生的情况下对应故障原因所发生的概率是多少,可以通过给出的发生了故障的情况去计算,若某个故障现象发生了,那么直接用输入的概率即可,若…… 题解列表 2022年06月23日 0 点赞 0 评论 888 浏览 评分:0.0
题解 1487: 蓝桥杯算法提高VIP-不同单词个数统计 set 摘要:#include<iostream> #include<algorithm> #include<string> #include<set> using namespace std; int …… 题解列表 2022年06月22日 0 点赞 1 评论 245 浏览 评分:0.0
三个字符串的排序 摘要:解题思路:利用一种类比推理的思想即可解决;注意事项:审题很重要参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string…… 题解列表 2022年06月22日 0 点赞 0 评论 323 浏览 评分:0.0
用string字符串的性质来解决[编程入门]自定义函数之数字分离(C++语言) 摘要:解题思路:把输入看成一个字符串,然后再根据string字符串的性质即可;注意事项:审题很重要;参考代码:#include<bits/stdc++.h>using namespace std;int m…… 题解列表 2022年06月22日 0 点赞 0 评论 379 浏览 评分:9.9