
二分
天天爆零
这个作者很懒,什么都没留下…
展开
-
D. Pair of Topics
The next lecture in a high school requires two topics to be discussed. Theii-th topic is interesting byaiaiunits for the teacher and bybibiunits for the students. The pair of topicsiiandjj(i...原创 2020-03-26 17:15:31 · 198 阅读 · 0 评论 -
cf div2 D. Exams
D. Examstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasiliy has an exam period which will continue for n days. He has to pass exams on m subjec...原创 2018-05-02 21:42:18 · 174 阅读 · 0 评论 -
D. One-Dimensional Battle Ships
output standard output Alice and Bob love playing one-dimensional battle ships. They play on the field in the form of a line consisting of n square cells (that is, on a 1 × n table). At the beginni...原创 2018-09-18 22:19:14 · 427 阅读 · 0 评论 -
C. Cellular Network
You are given n points on the straight line — the positions (x-coordinates) of the cities and m points on the same line — the positions (x-coordinates) of the cellular towers. All towers work in the s...原创 2018-09-20 09:16:10 · 448 阅读 · 0 评论