1256: 诡秘的余数 摘要:```cpp #include #include using namespace std; int main() { char x[2000]; int n; …… 题解列表 2023年02月03日 0 点赞 0 评论 309 浏览 评分:9.9
1255: 蓝桥杯算法提高-能量项链 摘要:```cpp #include #include using namespace std; typedef long long LL; namespace IO { inline…… 题解列表 2023年02月03日 0 点赞 0 评论 335 浏览 评分:9.9
1254: 考试排名 摘要:```cpp #include #include using namespace std; typedef struct BSTree *BST; struct BSTree { …… 题解列表 2023年02月03日 0 点赞 0 评论 331 浏览 评分:9.9
1253: 老王赛马 摘要:```cpp #include #include using namespace std; int main() { int n,i,j,a[1024],b[1024],x,cou…… 题解列表 2023年02月03日 0 点赞 0 评论 292 浏览 评分:9.9
1252: 统计立方数 摘要:```cpp #include using namespace std; bool check(int n) { for(int i=1;i*i*i>n&&n) i…… 题解列表 2023年02月03日 0 点赞 0 评论 251 浏览 评分:6.0
和前面的全排列一样 答案对 提交为啥一直是编译错误 求大哥 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int b[100000];int a[100000];int n;int inde…… 题解列表 2023年02月02日 0 点赞 0 评论 413 浏览 评分:0.0
练习题_保留字母 摘要:解题思路:创建一个空的string和一个char类型数据,使用cin.get()读入数据存放于char中,只要是字母就+=赋值。注意事项:参考代码:#include<iostream>#include…… 题解列表 2023年02月02日 0 点赞 0 评论 212 浏览 评分:0.0
c++分解因数 摘要:解题思路:用了点递归注意事项:本应该有多解,但题目只要求一个解参考代码:#include<iostream> #include<cmath> using namespace std; void …… 题解列表 2023年02月02日 0 点赞 0 评论 229 浏览 评分:9.9
新手解题:1119水仙花数 摘要:解题思路: 首先分别取出三位数再求取它们的立方和,最后与输入数值进行对比注意事项:参考代码:#include <iostream>using namespace std;int main(){ …… 题解列表 2023年02月02日 0 点赞 0 评论 207 浏览 评分:9.9
计算(a+b)*c的值 (C++代码) 摘要:解题思路:这道题很简单,只需要先定义a,b,c并输入,在输出(a+b)*c即可;注意事项:不要忘了分号!参考代码:方法一:直接输出(a+b)*c#include<iostream> using na…… 题解列表 2023年02月02日 0 点赞 0 评论 267 浏览 评分:6.3