ACM-ICPC 基础训练题解-排序
*红小豆
这个作者很懒,什么都没留下…
展开
-
排序-1.1 1101谁是中间的那个
谁是中间的那个 问题描述 一天,农夫乔伊像往常-样来到了他的牧场,他突然对他的奶牛产奶量产生了兴趣.他想知道产奶量处于中间的那头奶牛的产奶量是多少。“处于中间的"意思是说,其中有一半牛的产奶量比它多,另一半牛的产奶量比它少.” 现在由你来完成这个问题的程序! 输入 仅包括一-组测试数据,第-行一个正整数N(1...原创 2019-01-04 10:57:06 · 430 阅读 · 0 评论 -
连续出现‘B’
Recently Adaltik discovered japanese crosswords. Japanese crossword is a picture, represented as a table sizeda × bsquares, and each square is colored white or black. There are integers to the left ...原创 2019-03-16 14:01:29 · 186 阅读 · 0 评论 -
POJ - 3268
One cow from each ofNfarms (1 ≤N≤ 1000) conveniently numbered 1..Nis going to attend the big cow party to be held at farm #X(1 ≤X≤N). A total ofM(1 ≤M≤ 100,000) unidirectional (one-way ro...原创 2019-04-10 20:52:52 · 115 阅读 · 0 评论