摘要:
Problem Description?? gets an sequence S with n intergers(0 #include #include using namespace std; in... 阅读全文
posted @ 2019-12-12 09:00
千金一发
阅读(127)
评论(0)
推荐(0)
摘要:
DescriptionYou are given an array of n elements, you must make it a co-prime array in as few moves as poss... 阅读全文
posted @ 2019-12-12 09:00
千金一发
阅读(150)
评论(0)
推荐(0)
摘要:
DescriptionAlice and Bob are playing a game. The game involves splitting up game pieces into two teams. Th... 阅读全文
posted @ 2019-12-12 09:00
千金一发
阅读(114)
评论(0)
推荐(0)
摘要:
时间限制:4000 ms | 内存限制:65535 KB描述 LT最近一直在无限循环薛之谦的歌,简直都中毒了!可是呢…他的歌LT还是不会唱(其实不止他的歌LT不会唱,所有人的歌LT都不会唱…因为LT是标准的音... 阅读全文
posted @ 2019-12-12 09:00
千金一发
阅读(101)
评论(0)
推荐(0)
摘要:
时间限制:1000 ms | 内存限制:65535 KB描述 有N个人,N个活动, 每个人只会对2个或者3个活动感兴趣, 每个活动也只有两个人或者三个人对它兴趣,每个人参加一个 感兴趣的活动需要一天 ,且当... 阅读全文
posted @ 2019-12-12 09:00
千金一发
阅读(73)
评论(0)
推荐(0)
摘要:
DescriptionThe inversion number of a given number sequence a1, a2, ..., an is the number of pairs (ai, aj)... 阅读全文
posted @ 2019-12-12 09:00
千金一发
阅读(77)
评论(0)
推荐(0)
摘要:
DescriptionIn this problem, you have to analyze a particular sorting algorithm. The algorithm processes a ... 阅读全文
posted @ 2019-12-12 09:00
千金一发
阅读(78)
评论(0)
推荐(0)
摘要:
DescriptionVasiliy likes to rest after a hard work, so you may often meet him in some bar nearby. As all p... 阅读全文
posted @ 2019-12-12 09:00
千金一发
阅读(92)
评论(0)
推荐(0)
摘要:
Description给定一个4*4的01棋盘,1代表棋子,0代表空格,棋子1每次可以移动到相邻上下左右四个位置的空格。然后再给定你目标棋盘,问你最少在多少步能把当前棋盘变成目标棋盘状态。Input第一行输入一个... 阅读全文
posted @ 2019-12-12 09:00
千金一发
阅读(86)
评论(0)
推荐(0)
摘要:
DescriptionThere are n distinct points in the plane, given by their integer coordinates. Find the number o... 阅读全文
posted @ 2019-12-12 09:00
千金一发
阅读(114)
评论(0)
推荐(0)

浙公网安备 33010602011771号