王牌花色 (C++代码) 摘要:#include "iostream" #include "cstdio" #include "cstring" #include "string" using namespace std;…… 题解列表 2018年07月24日 1 点赞 0 评论 1551 浏览 评分:0.0
数学的图表 (C++代码) 摘要:看了第一个大佬的,感觉是我想复杂了,不过还是可以值得借鉴一下的#include "iostream" #include "cstdio" #include "cstring" #include …… 题解列表 2018年08月08日 2 点赞 0 评论 1543 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.1 (C语言代码) 摘要:解题思路:用冒泡排序解决冒泡排序解决参考代码:#include<stdio.h>int main(){ int a[3]; int temp; int i,j; for(i=…… 题解列表 2018年07月25日 0 点赞 0 评论 598 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.5 (C语言代码) 摘要:解题思路:注意事项:double型 用printf("%.2lf\n",Sn)参考代码:#include<stdio.h>int main(){ int a,b,c,i; double s=0,d=0…… 题解列表 2018年07月25日 0 点赞 0 评论 850 浏览 评分:0.0
可AC (C语言代码) 摘要:解题思路: 注意事项:参考代码:#include<stdio.h> int fun(int n) { int sum = 0; if (n == 1) sum = 0; i…… 题解列表 2018年07月25日 2 点赞 0 评论 1371 浏览 评分:0.0
【魔板】 (C++代码) 摘要:解题思路:参考代码:#include<bits/stdc++.h> using namespace std; int AimValue; bool Vis[49451 + 1]; type…… 题解列表 2018年07月25日 0 点赞 0 评论 1028 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.1 (C语言代码) 摘要:解题思路:辗转相除法求最大公约数,再用两个数的积除以最大公约数得到最小公倍数注意事项:参考代码:#include<stdio.h>int yue(int x,int y){ int t,temp…… 题解列表 2018年07月25日 0 点赞 0 评论 831 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.11 (C++语言 使用链表)带注释 摘要:解题思路:注意事项:不知道为什么用C提交出现编译错误,c++没事。参考代码:#include<stdio.h>#include <stdlib.h>typedef int ElemType;#defi…… 题解列表 2018年07月25日 1 点赞 0 评论 1044 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.7 (C语言代码) 摘要:解题思路:定义两个字符数组,将字符串输入其中一个数组,运用循环将给定的字符赋值给另一个字符数组,实现该功能。注意事项:参考代码:#include<stdio.h>int main(){ int n…… 题解列表 2018年07月25日 0 点赞 0 评论 701 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:解题思路:采用数组将每月的天数存入数组中,再判断输入年份是否为闰年。注意事项:参考代码:#include<stdio.h>int main(){ int y,m,d; int i,n=0; int a…… 题解列表 2018年07月25日 0 点赞 0 评论 615 浏览 评分:0.0