倒杨辉三角形 (C语言代码) 摘要:解题思路:先求出杨辉三角形,然后倒着输出即可。注意事项:参考代码:#include <stdio.h> #define N 12 int main() { int a[N][N]={0}; …… 题解列表 2018年09月08日 1 点赞 0 评论 1766 浏览 评分:9.9
姜太公钓鱼 (C语言代码) 摘要:解题思路:水题。不用解释了。注意事项:参考代码:#include <stdio.h> int main() { int n,x,i,k=0; scanf("%d",&n); …… 题解列表 2018年09月08日 0 点赞 0 评论 944 浏览 评分:9.9
区间中最大的数 (C语言代码) 摘要:解题思路:注意是哪一个区间求最大。参考代码:#include <stdio.h> int main() { int a[1002]={0},n,qn,q1,q2,i,j,max; …… 题解列表 2018年09月08日 0 点赞 0 评论 1320 浏览 评分:9.9
蛇行矩阵 (C语言代码) 摘要:解题思路: 认真分析,找到其中的规律,详细请看代码!注意事项:参考代码:#include <stdio.h> #define N 101 int main() { int a[N][N]={…… 题解列表 2018年09月08日 0 点赞 0 评论 800 浏览 评分:9.9
蓝桥杯算法提高VIP-Pascal三角 (C语言代码) 摘要:解题思路:就是杨辉三角形的输出注意事项:参考代码:#include <stdio.h> int main() { int f[14][14]={0}; int i,j,n; scanf…… 题解列表 2018年09月08日 0 点赞 0 评论 1069 浏览 评分:9.9
蓝桥杯算法提高VIP-Torry的困惑(提高型) (Java代码) 摘要:Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int all=0; long sum=1; for(int a=…… 题解列表 2018年09月08日 0 点赞 0 评论 1162 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题5.4 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,max; scanf("%d%d%d",&a,&b,&c); max=a>b?a:b; ma…… 题解列表 2018年09月09日 0 点赞 1 评论 746 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题11.12 (C语言代码) 摘要:解题思路:完全按照题目要求用链表来实现,涉及到链表的建立,链表的释放,链表的遍历,链表的删除。参考代码:#include<stdio.h> #include <stdlib.h> typede…… 题解列表 2018年09月12日 1 点赞 8 评论 2010 浏览 评分:9.9
蓝桥杯算法提高VIP-一元一次方程 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double a,b; // double型 double x; scanf("%lf…… 题解列表 2018年09月20日 7 点赞 0 评论 2415 浏览 评分:9.9
蓝桥杯算法提高VIP-格子位置 (C++代码) 找一下下规律就可以了 摘要:解题思路: 从左上往右下 i-j 要满足 i-j==x-y 从左下往右上 要满足 i+j==x+y注意事项:参考代码:#include<bits/stdc++.h>us…… 题解列表 2018年09月23日 1 点赞 0 评论 1143 浏览 评分:9.9