3011: 余数相同问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;int main(){ ll a,…… 题解列表 2024年07月17日 0 点赞 0 评论 243 浏览 评分:9.9
编写题解 3011: 余数相同问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,sum=0; cin>>n; …… 题解列表 2024年07月17日 0 点赞 0 评论 289 浏览 评分:9.9
1002: [编程入门]三个数最大值 C++题解 摘要:解题思路:这是一题水题,有手就行。。。用数组和排序闭着眼睛都能过(虽然有点小题大做。。。)注意事项:一定要用万能头文件,不然其他头文件遇到sort()会报错。参考代码:#include<bits/st…… 题解列表 2024年07月17日 3 点赞 0 评论 825 浏览 评分:9.9
2950: 素数回文数的个数 摘要:解题思路:函数定义fuk you注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll fuk(ll…… 题解列表 2024年07月18日 0 点赞 0 评论 512 浏览 评分:9.9
编写题解 1848: 求输入数据绝对值 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ double a; while(cin>>a) {…… 题解列表 2024年07月18日 0 点赞 0 评论 373 浏览 评分:9.9
编写题解 2233: 蓝桥杯算法训练-图形显示 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main() { int n; cin>>n; for(int i=n;…… 题解列表 2024年07月18日 0 点赞 0 评论 299 浏览 评分:9.9
约瑟夫问题-变式(一种个人的解法) 摘要:题目:有n人围成一圈,顺序排号。从第1个人开始报数(从1到3报数),凡报到3的人退出圈子,问最后留下的是原来的第几号的那位。解题思路(或者说过程):不妨找到特殊的n值,使得1号选手留到最后,显而易见的…… 题解列表 2024年07月18日 0 点赞 0 评论 480 浏览 评分:9.9
2853: 字符替换 摘要:解题思路:注意事项:参考代码#include <bits/stdc++.h>using namespace std;const int N=1e7;char c[N],l,k;int main(){ …… 题解列表 2024年07月19日 0 点赞 0 评论 524 浏览 评分:9.9
2850: 输出亲朋字符串 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N=1e7;stri…… 题解列表 2024年07月19日 0 点赞 0 评论 607 浏览 评分:9.9
2852: 配对碱基链 摘要:解题思路:万能的张博维注意事项:参考代码:#include <bits/stdc++.h>using namespace std;char s[258];int main(){cin>>s;for(i…… 题解列表 2024年07月19日 0 点赞 0 评论 389 浏览 评分:9.9