1257: 超级楼梯 摘要:```cpp #include using namespace std; int total; int sum(int step,int m) { if(step>m) …… 题解列表 2023年02月03日 0 点赞 0 评论 505 浏览 评分:9.9
2812: 球弹跳高度的计算 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std ;int main (){ double h,sum; cin>>h; //输入初始高…… 题解列表 2023年02月03日 0 点赞 0 评论 801 浏览 评分:9.9
点和正方形的关系 摘要:解题思路:用数学知识就可以了,点到正方形中心的距离小于或等于时点就在正方形内注意事项:参考代码:#include<stdio.h>int main(){ int x,y; scanf(…… 题解列表 2023年02月03日 0 点赞 0 评论 1239 浏览 评分:9.9
1258: 连续自然数和 摘要:```cpp #include using namespace std; int main() { long long n,i,j; while(cin>>n) …… 题解列表 2023年02月03日 0 点赞 0 评论 422 浏览 评分:9.9
新手解题:1087丨使用do while循环 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ int a, b; cin >> a >> b; do{ …… 题解列表 2023年02月03日 0 点赞 0 评论 504 浏览 评分:9.9
循环链表解决报数--简单解法 摘要:解题思路:// 若要循环链表删除数据直至一个时,则只需一个int pos记录位置// 定义俩个结构指针,一个指当前的,一个指前一个的 // 定义一个i,初始化为0,从head开始++i,每当i==3/…… 题解列表 2023年02月03日 0 点赞 0 评论 351 浏览 评分:9.9
1260: 逆反的01串 摘要:```cpp #include #include using namespace std; int main() { char n[200]; while(cin>>n)…… 题解列表 2023年02月03日 0 点赞 0 评论 411 浏览 评分:9.9
1261: 速算24点 摘要:```cpp #include #include using namespace std; int sign(int a,int b,int i) { switch(i) …… 题解列表 2023年02月03日 0 点赞 0 评论 579 浏览 评分:9.9
1262: 邮局选址问题 摘要:```cpp #include #include using namespace std; int main() { int a[10000],b[10000],n; c…… 题解列表 2023年02月03日 0 点赞 0 评论 440 浏览 评分:9.9
1263: 金明的预算方案 摘要:```cpp #include #include #define pb push_back using namespace std; int feesum,n,ans,f[32000],cn…… 题解列表 2023年02月03日 0 点赞 0 评论 402 浏览 评分:9.9