题解 1480: 模拟计算器 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; char c; cin…… 题解列表 2024年01月06日 0 点赞 0 评论 121 浏览 评分:0.0
题解 1480: 模拟计算器 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; char c; cin…… 题解列表 2024年01月06日 0 点赞 0 评论 208 浏览 评分:9.9
编写题解 2772: 苹果和虫子 摘要:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double n,x,y; cin >>n>>x>>y; y…… 题解列表 2024年01月06日 0 点赞 0 评论 117 浏览 评分:0.0
最简洁易懂代码,(用一个队列来维护) 摘要:``` #include #include #include #include #include #include #include #include #include using…… 题解列表 2024年01月05日 0 点赞 0 评论 157 浏览 评分:0.0
一个非常非常非常容易超时的简单并查集和debug好久的写法(虽然也不知道为啥de了那么久突然过了) 摘要:``` #include using namespace std; const int N=10000000,mod=1e9+7;//给题目的范围再给大点 typedef long long…… 题解列表 2024年01月05日 0 点赞 0 评论 386 浏览 评分:9.9
set的做法,通俗易懂 摘要:``` #include #include #include #include #include using namespace std; const int N =1000; int…… 题解列表 2024年01月05日 0 点赞 0 评论 146 浏览 评分:0.0
冶炼金属二分写法 摘要:``` #include #define int long long using namespace std; const int N=110,mod=1e9+7; typedef lon…… 题解列表 2024年01月05日 0 点赞 0 评论 503 浏览 评分:9.9
遍历素数,然后查找 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main() { int x; cin >> x; ve…… 题解列表 2024年01月05日 0 点赞 0 评论 136 浏览 评分:0.0
求s=a+aa+aaa+aaaa+aa...a的值 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,s=0,k,i,q=0; …… 题解列表 2024年01月04日 0 点赞 0 评论 228 浏览 评分:0.0
1017[编程入门]完数的判断 摘要:注意事项:选择排序不是最优的排序,但是是最简单、易懂的。参考代码:#include<stdio.h>//交换void swap(int &a,int &b){ int count; cou…… 题解列表 2024年01月04日 0 点赞 0 评论 140 浏览 评分:9.9