【亲和数】 (C语言代码) 摘要:解题思路: 注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); while (n--) { …… 题解列表 2019年01月15日 0 点赞 0 评论 628 浏览 评分:0.0
字符串中间和后边*号删除 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ char s1[81]; char s2[81]; int flag = 0,index = 0;…… 题解列表 2019年01月15日 0 点赞 0 评论 871 浏览 评分:0.0
成绩等级转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a; while(~scanf("%d", &a)){ switch(a/10){ …… 题解列表 2019年01月15日 0 点赞 0 评论 634 浏览 评分:0.0
判断第几天 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define f(a) (a%4==0&&a%100!=0||a%400==0)?(29):(28)int main(){ in…… 题解列表 2019年01月15日 0 点赞 0 评论 705 浏览 评分:0.0
蓝桥杯算法提高VIP-高精度乘法 (C++代码)代码就丢在这里了 摘要:解题思路: 输入1---->用字符串in1存储---->逆序转换成为数组a----->同理输入2,最后相乘用一个ans存下来,逆序输出即可参考代码:#include<bits/stdc++.h>…… 题解列表 2019年05月24日 0 点赞 0 评论 783 浏览 评分:0.0
求所给范围内水仙花数并排列 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b; int flag; while(~scanf("%d %d", &a,&b)){…… 题解列表 2019年01月15日 0 点赞 1 评论 688 浏览 评分:0.0
与2无关的数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define f(a) ((i/1000%10!=2&&i/100%10!=2&&i/10%10!=2&&i%10!=2)?(1):…… 题解列表 2019年01月15日 0 点赞 0 评论 529 浏览 评分:0.0
折叠法解决问题 (C语言代码) 摘要:参考 学明 的代码,他的判定方法看不太懂解题思路:由于完全弹性碰撞,每次碰撞边界之后,小球只改变了速度方向,其他并没有改变。因此已知速度、入射角、时间之后,小球在X、Y轴上行走的总路程是确定的,且X、…… 题解列表 2019年01月15日 0 点赞 0 评论 946 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.5 (C语言代码) 摘要:解题思路:定义一个学生结构,以及一个学生结构数组,循环动态复制到结构数组中注意事项:参考代码:#include <stdio.h>#include <stdlib.h>//学生结构typedef st…… 题解列表 2019年01月15日 1 点赞 0 评论 782 浏览 评分:0.0
K-进制数 (C++代码) 摘要:解题思路:使用深度 注意事项:注意不能超过范围参考代码:#include <algorithm>#include <iostream>#include <math.h>using namespa…… 题解列表 2019年01月15日 0 点赞 0 评论 686 浏览 评分:0.0