玉龙学长买雪糕C++实现 摘要:## 迭代 ```c++ #include using namespace std; int fib(int n){ int s = 0, res = 1; while…… 题解列表 2023年06月07日 0 点赞 0 评论 326 浏览 评分:0.0
C++实现字符与它对应的ASC码 摘要:## printf ```c++ #include #include using namespace std; int main() { char s; cin…… 题解列表 2023年06月07日 0 点赞 0 评论 419 浏览 评分:0.0
C++ string 登陆验证问题(一) 摘要:# C++ string类 > string ## AC代码 ```c++ #include using namespace std; int main() { stri…… 题解列表 2023年06月07日 0 点赞 0 评论 288 浏览 评分:0.0
有规律的数列求和简单求解 摘要:解题思路:观察分子分母变化规律,选取了一个简单的实现方法,设置初始变量分子为2,初始分母为1,数列首相an=2/1,在循环中,把分子分母的变化规律用相应的代码实现,用临时变量t=分子,分子等于原来分子…… 题解列表 2023年06月07日 0 点赞 0 评论 287 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double xa, xb, ya, yb,distance,length…… 题解列表 2023年06月07日 0 点赞 0 评论 309 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<math.h>int compare(const void* a, const v…… 题解列表 2023年06月07日 0 点赞 0 评论 311 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[33]; gets(str); str[strlen(st…… 题解列表 2023年06月07日 0 点赞 0 评论 339 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void delete(char n[],int x){ int i; for (i = x - 1; i < strlen…… 题解列表 2023年06月07日 0 点赞 0 评论 252 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>int compare(void const* a,void const* b){ int n…… 题解列表 2023年06月07日 0 点赞 0 评论 267 浏览 评分:0.0
太难了我不想打代码[STL训练]{A} + {B} 摘要:解题思路:set容器可以排序、去重、所以用它太几把合适了,先这样,在那样,最后那样,然后他妈的发现错了注意事项: 注意进厂时机!!!参考代码:#includeusing namespace s…… 题解列表 2023年06月07日 0 点赞 0 评论 280 浏览 评分:0.0