【亲和数】 (C语言代码) 摘要:解题思路: 注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); while (n--) { …… 题解列表 2019年01月15日 0 点赞 0 评论 798 浏览 评分:0.0
C语言训练-阶乘和数* (C语言代码)最简单,最容易理解 摘要:解题思路:分成两部分,更容易理解,采用两个函数,更直观。注意事项:比较有技巧的是输出是的顺序,所以在循环时就改变了顺序。参考代码:#include<stdio.h>#include<math.h>in…… 题解列表 2019年01月15日 2 点赞 0 评论 985 浏览 评分:0.0
汪汪与打针 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int a,b; int t = 0,m = 2,c = 1; …… 题解列表 2019年01月14日 0 点赞 0 评论 893 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题12.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int t;void f(int a){ if(a == 0) return; e…… 题解列表 2019年01月14日 0 点赞 0 评论 571 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题12.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>unsigned move(unsigned value,int n){ if(n < 0)…… 题解列表 2019年01月14日 0 点赞 0 评论 1234 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题12.3 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>unsigned getbits(unsigned value,unsigned n1,unsign…… 题解列表 2019年01月14日 0 点赞 0 评论 1238 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题12.1 (C语言代码) 摘要:#include <stdio.h>#include <math.h>int main(){ int a; int ans = 0; scanf("%d", &a); a >>= 4;…… 题解列表 2019年01月14日 0 点赞 0 评论 758 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题12.2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ unsigned a,n,ans = 0; int b[33] = …… 题解列表 2019年01月14日 0 点赞 0 评论 1404 浏览 评分:0.0
DNA (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int N; int num[17][2]; cin>>N;//保存N…… 题解列表 2019年01月14日 0 点赞 0 评论 1150 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.11 (C语言代码) 摘要:解题思路: 由于C语言自带开方函数,所以输出的时候直接转换就可以了注意事项: &nb 题解列表 2019年01月14日 0 点赞 0 评论 562 浏览 评分:0.0