校门外的树 (C语言代码) 摘要:解题思路:注意事项:此题最为重要的是不能直接两个端点相减,因为有重复的地方,所以用一个数组记录树的状态,在0,拔去1,即可参考代码: #include<stdio.h> int m…… 题解列表 2018年04月15日 0 点赞 0 评论 809 浏览 评分:0.0
C语言训练-大、小写问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>int main(){char str[100];gets(st…… 题解列表 2018年04月15日 0 点赞 0 评论 1107 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.4 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n; unsigned long long…… 题解列表 2018年04月15日 1 点赞 0 评论 1242 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.4 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n; unsigned long long…… 题解列表 2018年04月15日 0 点赞 0 评论 1517 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题10.4 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; const int M=1000+5; int a[M]={0}; int b[M…… 题解列表 2018年04月15日 0 点赞 0 评论 1021 浏览 评分:0.0
数字整除 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> using namespace std; const int M=100+5; char…… 题解列表 2018年04月15日 0 点赞 0 评论 1987 浏览 评分:0.0
查找最小的k个元素 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> using namespace std; const int M=10000+5; …… 题解列表 2018年04月15日 0 点赞 0 评论 1354 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题3.7 (C语言代码) 摘要:解题思路:字符在计算机里是通过一个叫ASCLL表来储存的,所以在这个字符变量后面加几就是表示这个字符后面第几位,所以在输出的时候完全可以在c1后面加4来输出注意事项:变量要定义为char字符变量参考代…… 题解列表 2018年04月15日 0 点赞 0 评论 1107 浏览 评分:0.0
C语言训练-列出最简真分数序列* (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>#include<math.h>int main(){int i…… 题解列表 2018年04月15日 0 点赞 0 评论 834 浏览 评分:8.0
C语言训练-角谷猜想 (C++代码) 摘要:解题思路:结果为1时结束就用while控制好了注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { int…… 题解列表 2018年04月15日 7 点赞 0 评论 2137 浏览 评分:7.6