2792: 三角形判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c;…… 题解列表 2023年12月30日 0 点赞 0 评论 419 浏览 评分: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 评论 373 浏览 评分: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 评论 410 浏览 评分: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 评论 516 浏览 评分:9.9
C++利用string里重载的不等号直接比较 摘要:解题思路:这里提供一个不用比较函数的字符串比较的方法:利用C++string里重载的不等号直接对字符串进行比较首先直接用string进行定义两个字符串,C++中string在头文件#include<s…… 题解列表 2023年12月29日 0 点赞 0 评论 804 浏览 评分:9.9
1002: [编程入门]三个数最大值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin >> a>>b>…… 题解列表 2023年12月29日 0 点赞 0 评论 500 浏览 评分:0.0
自定义函数之数字后移,vector 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cmath>#include <iomanip>#include<cstdio>#include<cstring…… 题解列表 2023年12月29日 0 点赞 0 评论 426 浏览 评分:0.0
2858 整理药房 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;const int N=110;char s[N];int main(){ int…… 题解列表 2023年12月29日 1 点赞 0 评论 476 浏览 评分:9.9
2854: 密码翻译 ```#includeusingnamespacestd;constintN=100010;stringa;//字符串intmain(){getline(cin,a);//读入一行;for(inti=0;i='a'&&a[i]='A'&&a[i] 题解列表 2023年12月29日 0 点赞 0 评论 485 浏览 评分:9.9
题解 2852: 配对碱基链 摘要: #include using namespace std; char a[256]; int main(){ cin>>a; int q=…… 题解列表 2023年12月29日 0 点赞 0 评论 431 浏览 评分:0.0