摘要:
↑每一次选出合理的最小边,贪心衍生。 #include <iostream> #include<limits.h>//get一个最大宏 using namespace std; const int max1=101; int map[max1][max1],dist[max1],pre[max1]; 阅读全文
posted @ 2018-07-13 11:34
徐霁尧
阅读(104)
评论(0)
推荐(0)
|
摘要:
↑每一次选出合理的最小边,贪心衍生。 #include <iostream> #include<limits.h>//get一个最大宏 using namespace std; const int max1=101; int map[max1][max1],dist[max1],pre[max1]; 阅读全文
posted @ 2018-07-13 11:34
徐霁尧
阅读(104)
评论(0)
推荐(0)
摘要:
【题目】 描述: 给定一个长度为N(不大于500)的正整数序列,请将其中的所有奇数取出,并按升序输出。 输入: 第1行为 N;第2行为 N 个正整数,其间用空格间隔。输出增序输出的奇数序列,数据之间以逗号间隔。数据保证至少有一个奇数。样例输入101 3 2 6 5 4 9 8 7 10样例输出1,3 阅读全文
posted @ 2018-03-31 22:10
徐霁尧
阅读(1022)
评论(0)
推荐(0)
摘要:
【题目】LETTERS A single-player game is played on a rectangular board divided in R rows and C columns. There is a single uppercase letter (A-Z) written in 阅读全文
posted @ 2018-03-27 18:06
徐霁尧
阅读(277)
评论(0)
推荐(0)
|