C与C++的共用解法 摘要: #include #include using namespace std; int main() { int s; //whi…… 题解列表 2022年01月28日 0 点赞 1 评论 661 浏览 评分:9.9
二级C语言-最小绝对值 摘要:解题思路:寻找绝对值最小的数,与最后一位交换!注意事项:fabs:绝对值(需要头文件cmath或math.h)参考代码:…… 题解列表 2022年01月28日 0 点赞 0 评论 350 浏览 评分:0.0
计算数字个数-题解(C++代码) 摘要:#include<iostream> using namespace std; const int N = 10010; char c[N]; //定义一…… 题解列表 2022年01月28日 0 点赞 0 评论 287 浏览 评分:0.0
提成计算-题解(C++代码) 摘要:利用函数便于计算(x万元的部分 + 超过x万元的部分)注:x e4 表示 x 万元#include<iostream> #include<iomanip> using namespace std…… 题解列表 2022年01月28日 0 点赞 0 评论 280 浏览 评分:9.9
蛮简单的--时间转换 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int time; cin >> time; …… 题解列表 2022年01月28日 0 点赞 0 评论 314 浏览 评分:9.9
套公式就好--两直线交点 摘要:解题思路:注意事项:头文件勿忘,保留两位小数,x,y之间空格参考代码:#include<iostream>#include<iomanip>using namespace std;int main()…… 题解列表 2022年01月28日 0 点赞 0 评论 439 浏览 评分:9.9
简单易懂,赛瓦维斯特定理--小凯的疑惑 摘要:解题思路:赛瓦维斯特定理,答案=a * b - a - b 注意事项:参考代码:#include<iostream>using namespace std;int main(){ long long …… 题解列表 2022年01月28日 0 点赞 0 评论 981 浏览 评分:9.9
1624: 蓝桥杯算法训练VIP-完数 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<math.h> using namespace std; int main() { float n,f…… 题解列表 2022年01月28日 0 点赞 0 评论 331 浏览 评分:0.0
蟠桃记——题解 摘要:```c++ #include using namespace std; int p(int x){ int y=(x+1)*2; return y; } int ma…… 题解列表 2022年01月28日 0 点赞 0 评论 518 浏览 评分:9.9
优质题解 Hifipsysta-1725题-统计字符(C++代码)频数统计法 摘要:解题思路: 本题有两种做法,第一种方法是: ① 依次获取每个测试用例的第1行中的字母 ② 在依次获取的循环内,反复扫描每个测试用例的第2行,记录出现次数 ③ 在依次获取的循环内,输出查询的字符…… 题解列表 2022年01月28日 0 点赞 0 评论 609 浏览 评分:9.9