1258: 连续自然数和 摘要:```cpp #include using namespace std; int main() { long long n,i,j; while(cin>>n) …… 题解列表 2023年02月03日 0 点赞 0 评论 602 浏览 评分:9.9
2812: 球弹跳高度的计算 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std ;int main (){ double h,sum; cin>>h; //输入初始高…… 题解列表 2023年02月03日 0 点赞 0 评论 1001 浏览 评分:9.9
1257: 超级楼梯 摘要:```cpp #include using namespace std; int total; int sum(int step,int m) { if(step>m) …… 题解列表 2023年02月03日 0 点赞 0 评论 669 浏览 评分:9.9
1256: 诡秘的余数 ```cpp#include#includeusingnamespacestd;intmain(){charx[2000];intn;while(cin>>x>>n){intans=0;for(inti=0;i 题解列表 2023年02月03日 0 点赞 0 评论 708 浏览 评分:9.9
1255: 蓝桥杯算法提高-能量项链 ```cpp#include#includeusingnamespacestd;typedeflonglongLL;namespaceIO{inlineLLread(){LLo=0,f=1;charc=getchar();while(c>'9'||c='0'&&c 题解列表 2023年02月03日 0 点赞 0 评论 675 浏览 评分:9.9
1254: 考试排名 ```cpp#include#includeusingnamespacestd;typedefstructBSTree*BST;structBSTree{charname[15];intAC,time;BSTLeft,Right;};BSTInsert(BSTT, 题解列表 2023年02月03日 0 点赞 0 评论 717 浏览 评分:9.9
1253: 老王赛马 ```cpp#include#includeusingnamespacestd;intmain(){intn,i,j,a[1024],b[1024],x,count;while(cin>>n&&n){count=0;for(i=0;i>x;a[i]=x;}for(j=0;j>x;b[j]=x;}sor 题解列表 2023年02月03日 0 点赞 0 评论 641 浏览 评分: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 评论 528 浏览 评分:6.0
和前面的全排列一样 答案对 提交为啥一直是编译错误 求大哥 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int b[100000];int a[100000];int n;int inde…… 题解列表 2023年02月02日 0 点赞 0 评论 738 浏览 评分:0.0
练习题_保留字母 摘要:解题思路:创建一个空的string和一个char类型数据,使用cin.get()读入数据存放于char中,只要是字母就+=赋值。注意事项:参考代码:#include<iostream>#include…… 题解列表 2023年02月02日 0 点赞 0 评论 495 浏览 评分:0.0