蓝桥杯算法提高VIP-输出正反三角形 (C++代码) 摘要:#include<iostream> using namespace std; int main(){ int n,m,b; cin>>n>>m; b=n; …… 题解列表 2017年12月26日 1 点赞 0 评论 1335 浏览 评分:0.0
蓝桥杯算法提高VIP-陶陶摘苹果2 (C++代码) 摘要:#include<iostream> using namespace std; int main(){ int n,m,a,s=0; cin>>n>>m; for(i…… 题解列表 2017年12月26日 0 点赞 0 评论 853 浏览 评分:0.0
WU-C语言训练-列出最简真分数序列* (C语言代码) 摘要:参考代码:#include<stdio.h> int gongyueshu(int a,int b) { int c; while(b!=0) { c=a%b; a=b; …… 题解列表 2017年12月26日 1 点赞 0 评论 1349 浏览 评分:0.0
WU-C语言训练-大、小写问题 (C语言代码) 摘要:参考代码:#include<stdio.h> int main() { char str[100]; int i; gets(str); for(i=0;str[i]!='…… 题解列表 2017年12月26日 3 点赞 0 评论 1148 浏览 评分:0.0
母牛的故事 (C语言代码) 摘要:解题思路:刚开始写这题的时候,第一反应就是用递归,但是这造成了超时。所以我想到用数组的方式来进行“递归”。注意事项:参考代码:#include <stdio.h>int main(){ int n, …… 题解列表 2017年12月26日 0 点赞 0 评论 743 浏览 评分:0.0
WU-C语言训练-字符串正反连接 (C语言代码) 摘要:参考代码:#include<stdio.h> #include<string.h> int main() { char str[100],str1[100],*p; p=str1; …… 题解列表 2017年12月26日 1 点赞 0 评论 1200 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[100],b[100]; int i,j=0; gets(a); for(i=0;a[i]!=&#…… 题解列表 2017年12月26日 1 点赞 0 评论 612 浏览 评分:0.0
WU-C语言训练-求1+2!+3!+...+N!的和 (C语言代码) 摘要:参考代码:#include<stdio.h> long long factorial(long long n) { if(n==1) return 1; else retur…… 题解列表 2017年12月26日 3 点赞 0 评论 2137 浏览 评分:0.0
母牛的故事 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i,n,f[55]; while(scanf("%d",&n)) …… 题解列表 2017年12月26日 0 点赞 0 评论 600 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.*;public class p30 { public static void main(String[] arg){ Scanner…… 题解列表 2017年12月26日 2 点赞 1 评论 693 浏览 评分:0.0