石头剪刀布 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,na,nb; cin >> n >> na >>…… 题解列表 2024年03月03日 0 点赞 0 评论 536 浏览 评分:6.0
题解 1267: A+B Problem 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a,b; cin>>a>>b; cout<…… 题解列表 2024年03月02日 0 点赞 0 评论 741 浏览 评分:0.0
整数删除-能看懂系列 解题思路:第一份代码为通过的代码,借鉴于其处的方法,这边有些大佬的代码可能不太好理解,所以写了这个比较详细的,希望对各位有用;另外这个题我自己也有方法,容易理解但较为繁琐也可惜有4个输出超限,有兴趣的可以试试优化第二份注意事项:参考代码:#include#include 题解列表 2024年03月02日 3 点赞 1 评论 1715 浏览 评分:10.0 2791: 计算邮资(判断和输出一行解决) 解题思路:分两部分输出,一部分判断重量,先判断有没有超过一公斤,超过一公斤在判断超过多少,正好为500整数倍则输出,如果不是500整数倍则向上取整(加1)第二部分判断加急,然后增加相应费用参考代码:#includeusingnamespacestd;intmain(){inta;c 题解列表 2024年03月02日 0 点赞 0 评论 470 浏览 评分:0.0 蓝桥杯历届试题-回文数字 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int n; int dight[6]; bool judge(int …… 题解列表 2024年03月02日 0 点赞 0 评论 472 浏览 评分:0.0 2788: 晶晶赴约会 摘要://参考代码: #include<iostream> using namespace std; int main() { int a; cin >> a; cout << (a =…… 题解列表 2024年03月02日 0 点赞 0 评论 570 浏览 评分:9.9 多用数学思想考虑考虑,EZ,收徒 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int max,min,e; int a,b; …… 题解列表 2024年03月01日 1 点赞 0 评论 572 浏览 评分:0.0 2787: 有一门课不及格的学生 摘要:参考代码:#include<iostream> using namespace std; int main() { int a, b; cin >> a >> b; …… 题解列表 2024年03月01日 0 点赞 0 评论 1062 浏览 评分:0.0 三国游戏 - 暴力搜索 ```c++#includeusingnamespacestd;typedeflonglongLL;constintN=1e5+10;intx[N],y[N],z[N],w[N];intn;intwork(inta[],intb[],intc[]){intres=-1;for(inti=0;i 题解列表 2024年03月01日 1 点赞 1 评论 1609 浏览 评分:9.8 题解 2785: 判断一个数能否同时被3和5整除 摘要:参考代码:#include<iostream> using namespace std; int main() { int a; cin >> a; cout <<…… 题解列表 2024年03月01日 0 点赞 0 评论 738 浏览 评分:0.0 « 12...260261262263264265266...16501651 »
2791: 计算邮资(判断和输出一行解决) 解题思路:分两部分输出,一部分判断重量,先判断有没有超过一公斤,超过一公斤在判断超过多少,正好为500整数倍则输出,如果不是500整数倍则向上取整(加1)第二部分判断加急,然后增加相应费用参考代码:#includeusingnamespacestd;intmain(){inta;c 题解列表 2024年03月02日 0 点赞 0 评论 470 浏览 评分:0.0
蓝桥杯历届试题-回文数字 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int n; int dight[6]; bool judge(int …… 题解列表 2024年03月02日 0 点赞 0 评论 472 浏览 评分:0.0
2788: 晶晶赴约会 摘要://参考代码: #include<iostream> using namespace std; int main() { int a; cin >> a; cout << (a =…… 题解列表 2024年03月02日 0 点赞 0 评论 570 浏览 评分:9.9
多用数学思想考虑考虑,EZ,收徒 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int max,min,e; int a,b; …… 题解列表 2024年03月01日 1 点赞 0 评论 572 浏览 评分:0.0
2787: 有一门课不及格的学生 摘要:参考代码:#include<iostream> using namespace std; int main() { int a, b; cin >> a >> b; …… 题解列表 2024年03月01日 0 点赞 0 评论 1062 浏览 评分:0.0
三国游戏 - 暴力搜索 ```c++#includeusingnamespacestd;typedeflonglongLL;constintN=1e5+10;intx[N],y[N],z[N],w[N];intn;intwork(inta[],intb[],intc[]){intres=-1;for(inti=0;i 题解列表 2024年03月01日 1 点赞 1 评论 1609 浏览 评分:9.8 题解 2785: 判断一个数能否同时被3和5整除 摘要:参考代码:#include<iostream> using namespace std; int main() { int a; cin >> a; cout <<…… 题解列表 2024年03月01日 0 点赞 0 评论 738 浏览 评分:0.0 « 12...260261262263264265266...16501651 »
题解 2785: 判断一个数能否同时被3和5整除 摘要:参考代码:#include<iostream> using namespace std; int main() { int a; cin >> a; cout <<…… 题解列表 2024年03月01日 0 点赞 0 评论 738 浏览 评分:0.0