蓝桥杯2013年第四届真题-大臣的旅费 (C语言代码) 摘要:解题思路:floyd算法,为什么运行错误,求解注意事项:参考代码: #include <iostream> #define MAXSIZE 15 #define MAXNUM 10000 u…… 题解列表 2019年01月05日 1 点赞 3 评论 919 浏览 评分:2.0
基础训练数列排序 (Java代码) 摘要:Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] arr = new int[n]; int k = 0; in…… 题解列表 2019年01月05日 0 点赞 0 评论 739 浏览 评分:0.0
蓝桥杯算法训练VIP-学做菜 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int p[5] = {0}; int a, b, c, …… 题解列表 2019年01月05日 1 点赞 0 评论 1248 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题11.3 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct a{ int score1,score2,score3; char name[10]; char number[10];}…… 题解列表 2019年01月05日 2 点赞 0 评论 952 浏览 评分:3.0
C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct data{ int year; int month; int day;};int main(){ int i,sum; i…… 题解列表 2019年01月05日 1 点赞 2 评论 1433 浏览 评分:9.8
C语言程序设计教程(第三版)课后习题6.2 (C语言代码) 摘要://参考代码: #include <stdio.h> //是否是英文字母 是返回1 不是返回0 #define IS_EN(X) (((X)>='A' && (X)<=&#…… 题解列表 2019年01月05日 0 点赞 0 评论 747 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <stdlib.h> int main() { int arr[6]; //用…… 题解列表 2019年01月05日 1 点赞 0 评论 573 浏览 评分:0.0
ACM基本输入输出(三)(C语言代码) 摘要:解题思路:本题是输入多组案例,输入0 0时结束!那么加一组判断0 0就可以了,是 0 0的话跳出while循环就OK。while(scanf("%d%d",&a,&b)==2)表示正确接受两个数就执…… 题解列表 2019年01月05日 1 点赞 0 评论 547 浏览 评分:0.0
用筛法求之N内的素数。 (C++代码) 摘要:解题思路:思考了很久,找到了一种简短有力的代码,请看注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,i,j; cin…… 题解列表 2019年01月05日 2 点赞 0 评论 452 浏览 评分:0.0
ACM基本输入输出(二)(C语言代码) 摘要:解题思路:此题相比第一道而言,会提前告诉你是几组数据,第一行的2就表示有两组数据。注意事项:参考代码(一):#include <stdio.h> int main() { int N,a,b;…… 题解列表 2019年01月05日 3 点赞 0 评论 869 浏览 评分:4.0