区间中最大的数 (C语言代码) 摘要:解题思路:注意是哪一个区间求最大。参考代码:#include <stdio.h> int main() { int a[1002]={0},n,qn,q1,q2,i,j,max; …… 题解列表 2018年09月08日 0 点赞 0 评论 1416 浏览 评分:9.9
蛇行矩阵 (C语言代码) 摘要:解题思路: 认真分析,找到其中的规律,详细请看代码!注意事项:参考代码:#include <stdio.h> #define N 101 int main() { int a[N][N]={…… 题解列表 2018年09月08日 0 点赞 0 评论 851 浏览 评分: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 评论 1096 浏览 评分: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 评论 1192 浏览 评分: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 评论 786 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题11.12 (C语言代码) 摘要:解题思路:完全按照题目要求用链表来实现,涉及到链表的建立,链表的释放,链表的遍历,链表的删除。参考代码:#include<stdio.h> #include <stdlib.h> typede…… 题解列表 2018年09月12日 1 点赞 8 评论 2174 浏览 评分:9.9
蓝桥杯算法提高VIP-一元一次方程 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double a,b; // double型 double x; scanf("%lf…… 题解列表 2018年09月20日 7 点赞 0 评论 2453 浏览 评分:9.9
蓝桥杯算法提高VIP-格子位置 (C++代码) 找一下下规律就可以了 摘要:解题思路: 从左上往右下 i-j 要满足 i-j==x-y 从左下往右上 要满足 i+j==x+y注意事项:参考代码:#include<bits/stdc++.h>us…… 题解列表 2018年09月23日 1 点赞 0 评论 1291 浏览 评分:9.9
蓝桥杯算法训练VIP-字符删除 (C语言代码) 摘要:解题思路: 利用指针对字符串进行字符串数据重新组织,可以很方便的完成删除指针字符。注意事项: 确保输出的字符串最后带有结束记 题解列表 2018年09月27日 2 点赞 0 评论 1219 浏览 评分:9.9
鸡兔同笼 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int num,leg; while(scanf("%d%d",&num,&leg)…… 题解列表 2018年09月28日 1 点赞 0 评论 1318 浏览 评分:9.9