编写题解 1040: [编程入门]实数的打印 摘要:解题思路:注意事项:换行的操作不可忘参考代码:#include<stdio.h>int main(){ float n; int i,j; scanf("%f",&n); for(i=1;i<=3;i…… 题解列表 2021年04月24日 0 点赞 0 评论 367 浏览 评分:0.0
水仙花数判断 摘要:解题思路:对三位数的取整及取余即可。注意事项:其中十位数要先取整再取余。参考代码:#include<stdio.h>#include<math.h>int main(){ int n,s; for(n…… 题解列表 2021年04月24日 0 点赞 1 评论 281 浏览 评分:7.3
使用动态分配来解决问题 摘要:解题思路:注意事项:申请后释放参考代码:#include <stdio.h>#include<malloc.h>int main(){ int n,i,sum=0; int *p; …… 题解列表 2021年04月24日 0 点赞 0 评论 424 浏览 评分:8.7
我愿称之为最捞解法 摘要:解题思路:if 就完事了‧★,:*:‧\( ̄▽ ̄)/‧:*‧°★* 注意事项:参考代码:#include<stdio.h> int main() { int a, b; scanf("%…… 题解列表 2021年04月24日 0 点赞 1 评论 320 浏览 评分:7.3
大家可以参考一下 摘要:解题思路:我自己都不知道为什么加个while true就能通过,不加不通过,两个注意点一个字符长度出1,没有回文就出0,利用find函数不断遍历找相同字符判断回文注意事项:参考代码:while Tru…… 题解列表 2021年04月23日 0 点赞 0 评论 572 浏览 评分:9.9
数组收纳法 C语言 摘要:解题思路:运用 数组收纳注意事项:参考代码:#include<stdio.h>int song(int a[]){ int i,j=0; for(i=1;i<40;i++) { …… 题解列表 2021年04月23日 0 点赞 0 评论 346 浏览 评分:6.0
有惊喜 c语言 摘要:解题思路:运用了数组收纳;注意事项:参考代码:#include<stdio.h>int song(int a[]){ int i,j=0; for(i=1;i<40;i++) { …… 题解列表 2021年04月23日 0 点赞 0 评论 193 浏览 评分:0.0
我愿称之为最捞解法 摘要:解题思路:我没有学数组,字符串什么都没有学,但是可以直接冲注意事项:参考代码:#include<stdio.h> int main() { int a, a1, a2, a3, a4, a5,…… 题解列表 2021年04月23日 0 点赞 0 评论 275 浏览 评分:9.9
阶乘求和[考虑变量类型数值溢出] 摘要:解题思路: 注意变量类型范围,可能会溢出;选long long数据类型;注意事项:阶乘求和类型名称 字节数 取值范围 signed char   题解列表 2021年04月23日 0 点赞 0 评论 163 浏览 评分:0.0
Sn的公式求和 摘要:解题思路:解法1:硬解发,直接循环相加,暴力求解&_&。解法2:先找规律,再编程。注意事项:Sn的公式求和参考代码:代码1:#include <stdio.h> int main() { …… 题解列表 2021年04月23日 0 点赞 0 评论 209 浏览 评分:0.0