C语言程序设计教程(第三版)课后习题5.8 (C语言代码) 摘要:解题思路:纯粹数学问题注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d",&a); if(a<=100000) …… 题解列表 2017年10月18日 0 点赞 0 评论 2380 浏览 评分:0.0
矩阵乘方 (C语言代码) 摘要:解题思路:注意事项:矩阵的乘法参考代码:#include <stdio.h>int b, m;int a[2][2], ans[2][2], temp[2][2] = {1,1,1,1};void p…… 题解列表 2017年10月19日 1 点赞 0 评论 2034 浏览 评分:0.0
模拟计算器 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int a,b; char c; …… 题解列表 2017年10月19日 0 点赞 0 评论 1735 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.6 (C语言代码) 摘要:参考代码:#include<stdio.h>int main(){ int s; scanf("%d",&s); switch(s/10) { cas…… 题解列表 2017年10月19日 1 点赞 0 评论 1369 浏览 评分:0.0
【偶数求和】 (C语言代码) 摘要:参考代码:#include<stdio.h>int main(){ int n,m,i,ai,sum; while( ~scanf("%d%d",&n,&m) ){ sum …… 题解列表 2017年10月19日 0 点赞 0 评论 1094 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ printf("**************\n"); printf("Hello World!\n"); …… 题解列表 2017年10月20日 0 点赞 0 评论 1038 浏览 评分:0.0
出圈】指针malloc版 解题思路:我用的是指针根据n动态分配内存(使用malloc函数)代码直接复制过来会被打乱0.o被注释掉的那三条语句是用来测试的(测试可视化,不然我怎么知道发生了什么)截图真麻烦,不知道大佬们都是怎么上传的参考代码: 题解列表 2017年10月20日 1 点赞 1 评论 736 浏览 评分:0.0
DNA (C语言代码) 摘要:解题思路:循环的利用注意事项:参考代码:#include<stdio.h>#include<string.h> int main(){ int num; int a,b; int temp1,t…… 题解列表 2017年10月20日 0 点赞 0 评论 1586 浏览 评分:0.0
DNA (C语言代码) 摘要:解题思路:for循环的利用(其实就是打印雪花的改编版)注意事项:参考代码:#include<stdio.h>#include<string.h> int main(){ int num;//代表组数…… 题解列表 2017年10月20日 0 点赞 0 评论 1729 浏览 评分:0.0