C语言程序设计教程(第三版)课后习题12.3 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>unsigned getbits(unsigned value,unsigned n1,unsign…… 题解列表 2019年01月14日 0 点赞 0 评论 1243 浏览 评分: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 评论 1236 浏览 评分: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 评论 573 浏览 评分: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 评论 898 浏览 评分:0.0
C语言训练-阶乘和数* (C语言代码)最简单,最容易理解 摘要:解题思路:分成两部分,更容易理解,采用两个函数,更直观。注意事项:比较有技巧的是输出是的顺序,所以在循环时就改变了顺序。参考代码:#include<stdio.h>#include<math.h>in…… 题解列表 2019年01月15日 2 点赞 0 评论 988 浏览 评分:0.0
【亲和数】 (C语言代码) 摘要:解题思路: 注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); while (n--) { …… 题解列表 2019年01月15日 0 点赞 0 评论 799 浏览 评分:0.0
字符串中间和后边*号删除 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ char s1[81]; char s2[81]; int flag = 0,index = 0;…… 题解列表 2019年01月15日 0 点赞 0 评论 1046 浏览 评分:0.0
成绩等级转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a; while(~scanf("%d", &a)){ switch(a/10){ …… 题解列表 2019年01月15日 0 点赞 0 评论 723 浏览 评分: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 评论 920 浏览 评分:0.0
蓝桥杯算法提高VIP-高精度乘法 (C++代码)代码就丢在这里了 摘要:解题思路: 输入1---->用字符串in1存储---->逆序转换成为数组a----->同理输入2,最后相乘用一个ans存下来,逆序输出即可参考代码:#include<bits/stdc++.h>…… 题解列表 2019年05月24日 0 点赞 0 评论 919 浏览 评分:0.0