2792: 三角形判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c;…… 题解列表 2023年12月30日 0 点赞 0 评论 150 浏览 评分:9.9
1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c…… 题解列表 2023年12月30日 0 点赞 0 评论 156 浏览 评分:0.0
题解 1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c…… 题解列表 2023年12月30日 0 点赞 0 评论 142 浏览 评分:0.0
题解 1043: [编程入门]三个数字的排序 摘要:解题思路: 论坛是个好东西,写完自己的代码后要去多逛逛下面来总结这道题的三种解法方法一:三目运算符求解最大数:(a>b?a:b)>c?(a>b?a:b):c)最小数:(a<b?a:b)<c?(a<b?…… 题解列表 2023年12月30日 0 点赞 0 评论 163 浏览 评分:9.9
C++利用string里重载的不等号直接比较 摘要:解题思路:这里提供一个不用比较函数的字符串比较的方法:利用C++string里重载的不等号直接对字符串进行比较首先直接用string进行定义两个字符串,C++中string在头文件#include<s…… 题解列表 2023年12月29日 0 点赞 0 评论 363 浏览 评分:9.9
1002: [编程入门]三个数最大值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin >> a>>b>…… 题解列表 2023年12月29日 0 点赞 0 评论 232 浏览 评分:0.0
自定义函数之数字后移,vector 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cmath>#include <iomanip>#include<cstdio>#include<cstring…… 题解列表 2023年12月29日 0 点赞 0 评论 139 浏览 评分:0.0
2858 整理药房 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;const int N=110;char s[N];int main(){ int…… 题解列表 2023年12月29日 0 点赞 0 评论 154 浏览 评分:9.9
2854: 密码翻译 摘要:``` #include using namespace std; const int N=100010; string a; //字符串 int main() { getline(c…… 题解列表 2023年12月29日 0 点赞 0 评论 170 浏览 评分:9.9
题解 2852: 配对碱基链 摘要: #include using namespace std; char a[256]; int main(){ cin>>a; int q=…… 题解列表 2023年12月29日 0 点赞 0 评论 184 浏览 评分:0.0