拆分位数 (C语言代码) 摘要:解题思路:以468为例468除以10为46余8,即个位数为8468除以100为4余68,即百位数为4十位数为68-8=60,再除以10得6注意事项:主要注意,计算十位数时运算顺序及括号是否丢掉情况pr…… 题解列表 2017年12月28日 1 点赞 0 评论 976 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include"stdio.h"int gcd(int a,int b);//函数声明int lcm(int a,int b);//函数声明int main(){ …… 题解列表 2017年12月28日 0 点赞 0 评论 648 浏览 评分:0.0
WU-蓝桥杯算法提高VIP-班级排名 (C++代码) 摘要:参考代码:#include<iostream> #include<cstring> #include<algorithm> using namespace std; struct ST//自定…… 题解列表 2017年12月28日 4 点赞 0 评论 1104 浏览 评分:9.9
A+B for Input-Output Practice (VII) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int a,b; while (~scanf("%d %d",…… 题解列表 2017年12月28日 0 点赞 0 评论 665 浏览 评分:0.0
WU-【数组的距离】 (C++代码) 摘要:注意别数组越界了 s数组开大点 位100000+5再用快速排序 避免了超时参考代码:#include<stdio.h> #include<math.h> #include<iostream> …… 题解列表 2017年12月28日 5 点赞 0 评论 1106 浏览 评分:0.0
琪露诺的编程教室(C++代码) 摘要:解题思路: strcmy(a,b)---比较数组a,b,如果大于0,则表示数组a比b大;小于0,则表示数组a比b小;相等表示两个数组 相等; &nb 题解列表 2017年12月28日 0 点赞 0 评论 1068 浏览 评分:0.0
蓝桥杯历届试题-分糖果 (C++代码)(十分便于理解) 摘要:解题思路:主函数在输入N的值及每个孩子的糖果后用一个while循环来进行不断分配的过程参考代码:#include <iostream> using namespace std; int kid…… 题解列表 2017年12月28日 2 点赞 0 评论 1101 浏览 评分:5.3
琪露诺的编程教室(C++代码) 摘要:解题思路: strcmy(a,b)---比较数组a,b,如果大于0,则表示数组a比b大;小于0,则表示数组a比b小;相等表示两个数组 相等; &nb 题解列表 2017年12月28日 0 点赞 0 评论 837 浏览 评分:0.0
字符逆序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#define N 100#include <string.h>int main(){ c…… 题解列表 2017年12月28日 0 点赞 0 评论 685 浏览 评分:0.0
DNA (C语言代码) 摘要:#include <stdio.h> void drawFrontSpaceTop(int floor); //floor层数 void drawMiddleSpaceTop(int flo…… 题解列表 2017年12月28日 0 点赞 0 评论 1145 浏览 评分:0.0