C++实现字符与它对应的ASC码 摘要:## printf ```c++ #include #include using namespace std; int main() { char s; cin…… 题解列表 2023年06月07日 0 点赞 0 评论 328 浏览 评分:0.0
C++ string 登陆验证问题(一) 摘要:# C++ string类 > string ## AC代码 ```c++ #include using namespace std; int main() { stri…… 题解列表 2023年06月07日 0 点赞 0 评论 215 浏览 评分:0.0
有规律的数列求和简单求解 摘要:解题思路:观察分子分母变化规律,选取了一个简单的实现方法,设置初始变量分子为2,初始分母为1,数列首相an=2/1,在循环中,把分子分母的变化规律用相应的代码实现,用临时变量t=分子,分子等于原来分子…… 题解列表 2023年06月07日 0 点赞 0 评论 193 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double xa, xb, ya, yb,distance,length…… 题解列表 2023年06月07日 0 点赞 0 评论 220 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<math.h>int compare(const void* a, const v…… 题解列表 2023年06月07日 0 点赞 0 评论 206 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[33]; gets(str); str[strlen(st…… 题解列表 2023年06月07日 0 点赞 0 评论 243 浏览 评分: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 评论 166 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>int compare(void const* a,void const* b){ int n…… 题解列表 2023年06月07日 0 点赞 0 评论 194 浏览 评分:0.0
太难了我不想打代码[STL训练]{A} + {B} 摘要:解题思路:set容器可以排序、去重、所以用它太几把合适了,先这样,在那样,最后那样,然后他妈的发现错了注意事项: 注意进厂时机!!!参考代码:#includeusing namespace s…… 题解列表 2023年06月07日 0 点赞 0 评论 212 浏览 评分:0.0
动态规划,两个背包同时算 摘要:#### 动态规划 ``` void solve() { int N = in.nextInt(), M = in.nextInt(), K = in.nextInt(); …… 题解列表 2023年06月07日 0 点赞 0 评论 543 浏览 评分:0.0