上一页 1 ··· 75 76 77 78 79 80 81 82 83 ··· 97 下一页
摘要: Problem Description Farmer John's farm consists of a long row of N (1 #include#include#include#include#include#include#include#... 阅读全文
posted @ 2022-09-20 22:52 老程序员111 阅读(16) 评论(0) 推荐(0)
摘要: 【题目描述】 农夫 John 建造了一座很长的畜栏,它包括 N(2≤N≤100,000) 个隔间,这些小隔间依次编号为 x1,...,xN(0≤xi≤1,000,000,000). 但是,John 的 C(2≤C≤N) 头牛们并不喜欢这种布局,而且几头牛... 阅读全文
posted @ 2022-09-20 22:52 老程序员111 阅读(22) 评论(0) 推荐(0)
摘要: 【题目描述】 CE数码公司开发了一种名为自动涂色机(APM)的产品。它能用预定的颜色给一块由不同尺寸且互不覆盖的矩形构成的平板涂色。 为了涂色,APM需要使用一组刷子。每个刷子涂一种不同的颜色C。APM拿起一把有颜色C的刷子,并给所有颜色为C且符合下面... 阅读全文
posted @ 2022-09-20 22:52 老程序员111 阅读(282) 评论(1) 推荐(0)
摘要: 【题目描述】 CE数码公司开发了一种名为自动涂色机(APM)的产品。它能用预定的颜色给一块由不同尺寸且互不覆盖的矩形构成的平板涂色。 为了涂色,APM需要使用一组刷子。每个刷子涂一种不同的颜色C。APM拿起一把有颜色C的刷子,并给所有颜色为C且符合下面... 阅读全文
posted @ 2022-09-20 22:52 老程序员111 阅读(34) 评论(0) 推荐(0)
摘要: Problem Description For the daily milking, Farmer John's N cows (1 ≤ N ≤ 50,000) always line up in the same order. One day Farm... 阅读全文
posted @ 2022-09-20 22:52 老程序员111 阅读(15) 评论(0) 推荐(0)
摘要: 题目描述 每天,农夫 John 的N(1 #include#include#include#include#include#include#include#include#include#include#include#include#include#i... 阅读全文
posted @ 2022-09-20 22:52 老程序员111 阅读(22) 评论(0) 推荐(0)
摘要: Problem Description Valera has n counters numbered from 1 to n. Some of them are connected by wires, and each of the counters h... 阅读全文
posted @ 2022-09-20 22:52 老程序员111 阅读(34) 评论(0) 推荐(0)
摘要: Problem Description The black king is standing on a chess field consisting of 109 rows and 109 columns. We will consider the ro... 阅读全文
posted @ 2022-09-20 22:52 老程序员111 阅读(0) 评论(0) 推荐(0)
摘要: Problem Description This problem is the most boring one you've ever seen. Given a sequence of integers a1, a2, ..., an and a n... 阅读全文
posted @ 2022-09-20 22:52 老程序员111 阅读(18) 评论(0) 推荐(0)
摘要: Problem Description A sequence of non-negative integers a1, a2, ..., an of length n is called a wool sequence if and only if th... 阅读全文
posted @ 2022-09-20 22:52 老程序员111 阅读(34) 评论(0) 推荐(0)
上一页 1 ··· 75 76 77 78 79 80 81 82 83 ··· 97 下一页