优质题解 Manchester- 【矩阵】(太难了,如果你看了觉得匪夷所思,那多看几遍) 摘要:解题思路:1.假设二维数组为 N=30 1 2 H=0 代表行:第一行 3 4 5 H=16 7 8 H=2H=3,没有这行,结束;注意:以下程序使用了…… 题解列表 2018年01月01日 23 点赞 5 评论 3000 浏览 评分:8.9
C语言程序设计教程(第三版)课后习题6.4 (C语言代码) 摘要:解题思路:使用2个for循环来解决阶乘,主要还是数据格式long long int 的使用注意事项:参考代码:#include <stdio.h> #include <stdlib.h> #inc…… 题解列表 2018年01月01日 0 点赞 0 评论 665 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<stdlib.h>#include<math.h>#include<ctype.h…… 题解列表 2018年01月01日 0 点赞 0 评论 773 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b){ …… 题解列表 2017年12月31日 0 点赞 0 评论 626 浏览 评分:0.0
数字整除 (C语言描述——12行搞定) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ for( char s[102]; scanf("%s",s)==1 && !(s[0]=='0…… 题解列表 2017年12月31日 1 点赞 2 评论 1330 浏览 评分:7.3
密码截获 (C++代码) 摘要:解题思路:思路:仔细读题发现,起始就是找最长对称串。暴力求出所有子串,判断是不是对称串即可,然后找最大长度。其中用到了string的一些性质。比如赋值,直接s1=s2即可。或赋值某串的一部分 stri…… 题解列表 2017年12月31日 1 点赞 1 评论 1599 浏览 评分:9.3
字符排列问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <stdlib.h> #include <string.h> int cmp(const void *a,c…… 题解列表 2017年12月31日 2 点赞 0 评论 1637 浏览 评分:0.0
内码对称 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> int …… 题解列表 2017年12月31日 0 点赞 0 评论 1825 浏览 评分:8.0
作业调度方案 (C++代码) 摘要:解题思路:注意事项:参考代码:这道题...我认为是一道不能算“简单”的模拟首先,出题者不仅在考察代码实现能力,更在考验你的语文水平( 唉...... )闲话不多说了,注释都在代码里了...cpp..#…… 题解列表 2017年12月31日 0 点赞 2 评论 966 浏览 评分:9.9
【金明的预算方案】 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;//一维数组不超过 3000 0000//!!!聪明把最多2件物品的重要度、价格都保存在主件上…… 题解列表 2017年12月31日 1 点赞 0 评论 1203 浏览 评分:4.7