恺撒密码 (C语言代码) 摘要:解题思路:注意事项:参考代码#include<stdio.h> #include<string.h> int main() { char ch[200][200]; char s…… 题解列表 2018年03月31日 0 点赞 0 评论 1094 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.6 (C语言代码) 摘要:三位数三个数字的拆分并分别表示是关键。注意事项:循环用for较为方便,取余是%,我就没记住。参考代码:#include<stdio.h>int main(){ int a=100,b,c,d; for…… 题解列表 2018年03月31日 1 点赞 0 评论 924 浏览 评分:0.0
愚蠢的摄影师 (Java代码) 摘要:解题思路:采用变形全排列思路,当a[i]和a[i+1]两个元素交换时,根据两个相邻元素差不超过2,所以a[i-1]到a[i+2]是不能移动的,除掉i==a.length-3这种情况注意事项:参考代码:…… 题解列表 2018年03月31日 2 点赞 0 评论 1306 浏览 评分:0.0
蓝桥杯算法提高VIP-和最大子序列 (C++代码) 摘要:解题思路:_ueditor_page_break_tag_#include <iostream> using namespace std; int main() { int n, sum =…… 题解列表 2018年03月31日 0 点赞 0 评论 1214 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,i,j,k; a=0;b=0;c=0; double sum1=0,sum2=0,sum3=…… 题解列表 2018年03月31日 1 点赞 0 评论 638 浏览 评分:0.0
P1018 (C++代码) 摘要:#include <iostream> using namespace std; int main() { int k, n; long long sum = 1; cin >> n…… 题解列表 2018年03月31日 1 点赞 0 评论 1055 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题4.9 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float c,f; scanf("%f",&f); c=5.0*(f-32.0)/9.0; p…… 题解列表 2018年03月31日 0 点赞 0 评论 698 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题3.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char ia[4]; int i; for(i=0;i<5;i++) { scan…… 题解列表 2018年03月31日 0 点赞 0 评论 593 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,max; scanf("%d%d%d",&a,&b,&c); if(a>…… 题解列表 2018年03月31日 0 点赞 0 评论 681 浏览 评分:0.0
优质题解 Manchester- 首字母大写 摘要:解题思路:①:第一个字符是小写字母的话,转化为大写字母②:之后,若一个字符为小写字母,并且它的前面一个字符为空白符,则把该小写字母转化为大写字母③:输出结果注意事项:第一个字符要单独判断一次,因为它是…… 题解列表 2018年03月31日 5 点赞 1 评论 3328 浏览 评分:9.6