1999: 回文判断 摘要:equal 无脑往上拍。#include <bits/stdc++.h> using namespace std; int main(){ string s; getlin…… 题解列表 2022年01月01日 0 点赞 0 评论 289 浏览 评分:0.0
1477: 字符串输入输出函数 摘要:简单题。#include<iostream> using namespace std; int main() { double n; string s; co…… 题解列表 2022年01月01日 0 点赞 0 评论 160 浏览 评分:0.0
1203: 多输入输出练习2 摘要:#include <bits/stdc++.h> using namespace std; int main(){ const double PI = 3.1415;//PI要取到四…… 题解列表 2022年01月01日 0 点赞 0 评论 323 浏览 评分:0.0
1202: 多输入输出练习1 摘要:#include <bits/stdc++.h> using namespace std; //以空格为分隔符分割字符串 vector<int> split(const string &s,…… 题解列表 2022年01月01日 0 点赞 0 评论 179 浏览 评分:0.0
1200: 回文串 摘要:回文串判断,直接 equal 函数往上拍。#include <bits/stdc++.h> using namespace std; int main(){ string s; …… 题解列表 2022年01月01日 0 点赞 0 评论 225 浏览 评分:0.0
1123: C语言训练-列出最简真分数序列* 摘要:#include <bits/stdc++.h> using namespace std; bool Judge(int &a,int &b){ for(int i=2;i<=a;i…… 题解列表 2022年01月01日 0 点赞 0 评论 203 浏览 评分:0.0
1121: C语言训练-8除不尽的数 摘要:暴力法解决,循环的事情就交给计算机来做吧。#include <bits/stdc++.h> using namespace std; int main(){ for(int i=0;…… 题解列表 2022年01月01日 0 点赞 0 评论 310 浏览 评分:0.0
1095: The 3n + 1 problem 摘要:从 a 到 b 挨个判断跌落到 1 需要的次数,保存最大的次数。注意 a 大于 b 的情形。#include <bits/stdc++.h> using namespace std; int …… 题解列表 2022年01月01日 0 点赞 0 评论 189 浏览 评分:0.0
编写题解 1011: [编程入门]最大公约数与最小公倍数 VS2019 摘要:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int a,b,c,d=1,a1,b1;cin>>a>>b;a1=a;b1=b;i…… 题解列表 2021年12月31日 0 点赞 0 评论 484 浏览 评分:8.7
编写题解 1507: 蓝桥杯算法提高VIP-去注释 c++ 摘要:注意事项:不要大意!参考代码:#include<bits/stdc++.h>using namespace std;int main(){ char c; while ((c = cin.…… 题解列表 2021年12月31日 0 点赞 0 评论 346 浏览 评分:9.9