蓝桥杯2013年第四届真题-核桃的数量 (C语言代码) 摘要:#include "stdafx.h"int Gcd(int a, int b){ int t; if (a < b) { t = a; a = b; b = t; } do { t = a …… 题解列表 2018年10月31日 0 点赞 0 评论 666 浏览 评分:0.0
拆分位数 (C语言代码) 摘要:解题思路:int 数据除数取整,456/100=4;求模。注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,d; scanf("%d",&a…… 题解列表 2018年10月31日 0 点赞 0 评论 461 浏览 评分:0.0
拆分位数 (C语言代码) 摘要:解题思路:int 数据除数取整,456/100=4;求模。注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,d; scanf("%d",&a…… 题解列表 2018年10月31日 0 点赞 0 评论 503 浏览 评分:0.0
C语言训练-计算1977!* (C语言代码) 摘要:解题思路:用数组存储即可实现。注意进位,有可能超过100,1000,10000等,所以要用循环实现最后一个进位。注意事项:参考代码:#include<stdio.h> #include <strin…… 题解列表 2018年10月31日 2 点赞 0 评论 671 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main(void) { int a[10]; for(int i = 0; i < 10; ++i) {…… 题解列表 2018年10月31日 0 点赞 0 评论 690 浏览 评分:0.0
课后习题8.3 (C语言代码)最佳题解 有东西! 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <math.h> int isprime(int n) { if(n <= 1) { retu…… 题解列表 2018年10月31日 0 点赞 0 评论 642 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:注意事项:*号不能少.参考代码:#include<stdio.h>main(){ printf("**************************\nHello World!\n*…… 题解列表 2018年10月31日 0 点赞 0 评论 453 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.4 (C语言代码)巧妙处理下标 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main(void) { int a[3][3]; for(int i = 0; i < 3; ++i) {…… 题解列表 2018年10月31日 0 点赞 0 评论 556 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.6 (C语言代码)库函数 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main(void) { char s[100], s2[100]; …… 题解列表 2018年10月31日 0 点赞 0 评论 500 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.7 (C语言代码)不要为了写程序而写程序 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main(void) { char s[100]; scanf("%s…… 题解列表 2018年10月31日 0 点赞 0 评论 708 浏览 评分:0.0