【密码】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int M,a,b,c,d,i,j; char str[60],…… 题解列表 2017年09月02日 1 点赞 2 评论 578 浏览 评分:6.0
剪刀石头布 (C语言代码)不知道怎么直接在scanf中用枚举变量 摘要:解题思路:不怎么了解枚举,不知道怎么直接在scanf中用枚举变量,有大神知道的请赐教注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){…… 题解列表 2017年09月11日 0 点赞 0 评论 2579 浏览 评分:6.0
打水问题 (C语言代码) 摘要:解题思路:贪心策略注意事项:参考代码:#include <stdio.h>int main(){ int a[100],b[10][100]={{0,0}}; int n,m,sum=0,t,i,j…… 题解列表 2017年09月16日 0 点赞 1 评论 1706 浏览 评分:6.0
输出正反三角形 (C语言代码)格式错误!!! 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i,j,n,m; scanf("%d%d",&n,&m); for(i=n-1,j=0;i>=0,…… 题解列表 2017年09月18日 0 点赞 2 评论 1447 浏览 评分:6.0
大神老白 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ int m[50]; int a,i,sum; while(scanf("%…… 题解列表 2017年09月20日 0 点赞 0 评论 1148 浏览 评分:6.0
C语言程序设计教程(第三版)课后习题1.5 (C++代码) 摘要:解题思路:注意事项:参考代码:#inlcude<iostream>using namespace std;int main(){ cout<<"*************************…… 题解列表 2017年09月22日 3 点赞 0 评论 1662 浏览 评分:6.0
兰顿蚂蚁 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int a[100][100]={0};int main(){ int m,n; while(…… 题解列表 2017年09月23日 0 点赞 0 评论 1590 浏览 评分:6.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>//给一个不多于5位数的正整数,求出它是几位数,分别输出每一位数字,按逆序输出各位数字 int ma…… 题解列表 2017年09月25日 1 点赞 0 评论 1057 浏览 评分:6.0
求组合数 (C语言代码) 摘要:解题思路:ctrl + Z 再回车 == EOF注意事项:参考代码:#include<stdio.h>int main(){ int m,n,i; while(scanf("%d%d",…… 题解列表 2017年09月25日 1 点赞 0 评论 1641 浏览 评分:6.0
WU-蓝桥杯算法提高VIP-交换Easy (C++代码) 摘要:用一个交换函数 直接在函数里面进行数字的交换 注意事项: 注意交换的是第几个数 与数组的下标相差1#include<iostream> using namespace std; in…… 题解列表 2017年12月22日 4 点赞 0 评论 1700 浏览 评分:6.0