sort解法,在cmp函数里截取生日子串判断 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> #include<cstring> using namespace std; str…… 题解列表 2022年07月29日 0 点赞 3 评论 471 浏览 评分:9.9
编写题解 1016: [编程入门]水仙花数判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i = 0; int a = 0, b = 0, c = 0; for(i…… 题解列表 2022年07月29日 0 点赞 0 评论 260 浏览 评分:0.0
编写题解 1120: C语言训练-"水仙花数"问题2 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i = 0; int a = 0, b = 0, c = 0; for(i…… 题解列表 2022年07月29日 0 点赞 0 评论 374 浏览 评分:0.0
编写题解 1119: C语言训练-"水仙花数"问题1 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int num = 0; int a = 0, b = 0, c = 0; sca…… 题解列表 2022年07月29日 0 点赞 0 评论 269 浏览 评分:0.0
编写题解 1053: 二级C语言-平均值计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i = 0, n = 0; int num[10]; double sum = …… 题解列表 2022年07月29日 0 点赞 0 评论 240 浏览 评分:0.0
[编程入门]阶乘求和(C语言函数简单编写)有点麻烦简单的看看就行 摘要:解题思路:用函数计算数的阶乘,然后主函数调用函数求和就行。(一个大一初学者的解答!!!)注意事项:最最重要的是·取值范围,好多人一开始设置int 会直接显示错误!阶乘数值跨越幅度大,所以越往后数值跨越…… 题解列表 2022年07月29日 0 点赞 0 评论 536 浏览 评分:9.9
1047(1)约瑟夫环问题之C语言数组(图解例子) 摘要:解题思路: 题目重述: 约瑟夫环问题是一个自杀问题。 ①在n个人情况下,从1~m报数,凡报到m即退出自杀。 ②再次从1(第m+1…… 题解列表 2022年07月29日 0 点赞 0 评论 536 浏览 评分:0.0
编写题解 1010: [编程入门]利润计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int I = 0; int sum = 0; scanf("%d", &I); …… 题解列表 2022年07月29日 0 点赞 0 评论 350 浏览 评分:9.9
#C++1468——蓝桥杯基础练习VIP-报时助手 摘要:解题思路: 先用字符类的指针数组保存24个小时,分数在24之外的部分可以构造;注意事项: 第一思路,也可用map容器求解,不过大致思路差不多参考代码:#include<iostream> using…… 题解列表 2022年07月29日 0 点赞 0 评论 435 浏览 评分:0.0
编写题解 1009: [编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int num = 0; int a = 0, b = 0, c = 0, d = 0, e…… 题解列表 2022年07月29日 0 点赞 0 评论 303 浏览 评分:0.0