花落的新手代码 (C语言代码)~ 摘要:参考代码:#include<stdio.h> #include<string.h> #include<ctype.h> #include<stdlib.h> #include<math.h> …… 题解列表 2017年12月28日 0 点赞 0 评论 710 浏览 评分:0.0
蓝桥杯历届试题-回文数字 (C语言代码) 摘要:#include <stdio.h> #include <stdlib.h> #include <string.h> int isPalindrome(int num); //…… 题解列表 2017年12月28日 0 点赞 0 评论 1141 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题4.9 (C语言代码) 摘要:解题思路:根据公式: c = 5*(f-32)/9进行计算注意事项:1、scanf中&符号记得加上;2、printf返回的是c而不是f;3、scanf要在计算公式之前参考代码:int main(int…… 题解列表 2017年12月28日 0 点赞 0 评论 880 浏览 评分:0.0
求圆的面积 (C语言代码) 摘要:解题思路:计算公式:面积=π*r*r注意事项:π在C语言中的表示为:头文件加入#define pai 3.1415926#include <stdio.h>#include <math.h>#def…… 题解列表 2017年12月28日 0 点赞 0 评论 1347 浏览 评分:0.0
拆分位数 (C语言代码) 摘要:解题思路:以468为例468除以10为46余8,即个位数为8468除以100为4余68,即百位数为4十位数为68-8=60,再除以10得6注意事项:主要注意,计算十位数时运算顺序及括号是否丢掉情况pr…… 题解列表 2017年12月28日 1 点赞 0 评论 955 浏览 评分: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 评论 625 浏览 评分:0.0
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 评论 654 浏览 评分:0.0
WU-【数组的距离】 (C++代码) 摘要:注意别数组越界了 s数组开大点 位100000+5再用快速排序 避免了超时参考代码:#include<stdio.h> #include<math.h> #include<iostream> …… 题解列表 2017年12月28日 5 点赞 0 评论 1085 浏览 评分:0.0
琪露诺的编程教室(C++代码) 摘要:解题思路: strcmy(a,b)---比较数组a,b,如果大于0,则表示数组a比b大;小于0,则表示数组a比b小;相等表示两个数组 相等; &nb 题解列表 2017年12月28日 0 点赞 0 评论 969 浏览 评分:0.0
琪露诺的编程教室(C++代码) 摘要:解题思路: strcmy(a,b)---比较数组a,b,如果大于0,则表示数组a比b大;小于0,则表示数组a比b小;相等表示两个数组 相等; &nb 题解列表 2017年12月28日 0 点赞 0 评论 821 浏览 评分:0.0