Alex_McAvoy的博客

I'm not there,I'm not die.

Table with Letters-2(CF-253D)

Problem Description Vasya has recently started to learn English. Now he needs to remember how to write English letters. He isn't sure about some of ...

2019-08-14 15:25:50

阅读数 14

评论数 0

Text Editor(CF-253C)

Problem Description Vasya is pressing the keys on the keyboard reluctantly, squeezing out his ideas on the classical epos depicted in Homer's Odysse...

2019-08-14 14:38:58

阅读数 42

评论数 0

Physics Practical(CF-253B)

Problem Description One day Vasya was on a physics practical, performing the task on measuring the capacitance. He followed the teacher's advice and...

2019-08-14 14:23:09

阅读数 21

评论数 0

Boys and Girls(CF-253A)

Problem Description There are n boys and m girls studying in the class. They should stand in a line so that boys and girls alternated there as much ...

2019-08-14 14:10:13

阅读数 10

评论数 0

Playing with Permutations(CF-252D)

Problem Description Little Petya likes permutations a lot. Recently his mom has presented him permutation q1, q2, ..., qn of length n. A permutatio...

2019-08-12 17:13:19

阅读数 10

评论数 0

Points on Line(CF-252C)

Problem Description Little Petya likes points a lot. Recently his mom has presented him n points lying on the line OX. Now Petya is wondering in how...

2019-08-12 16:02:58

阅读数 14

评论数 0

Little Xor(CF-252A)

Problem Description Little Petya likes arrays that consist of non-negative integers a lot. Recently his mom has presented him one such array consist...

2019-08-12 15:49:39

阅读数 9

评论数 0

Unsorting Array(CF-252B)

Problem Description Little Petya likes arrays of integers a lot. Recently his mother has presented him one such array consisting of n elements. Pety...

2019-08-12 15:43:48

阅读数 10

评论数 0

Piglet's Birthday(CF-248E)

Problem Description Piglet has got a birthday today. His friend Winnie the Pooh wants to make the best present for him — a honey pot. Of course Winn...

2019-08-12 12:09:05

阅读数 9

评论数 0

Robo-Footballer(CF-248C)

Problem Description It's a beautiful April day and Wallace is playing football with his friends. But his friends do not know that Wallace actually s...

2019-08-12 11:14:45

阅读数 11

评论数 0

Sweets for Everyone!(CF-248D)

Problem Description For he knew every Who down in Whoville beneath, Was busy now, hanging a mistletoe wreath. "And they're hanging their stocki...

2019-08-12 11:04:56

阅读数 14

评论数 0

Cupboards(CF-248A)

Problem Description One foggy Stockholm morning, Karlsson decided to snack on some jam in his friend Lillebror Svantenson's house. Fortunately for K...

2019-08-12 10:01:28

阅读数 10

评论数 0

Chilly Willy(CF-248B)

Problem Description Chilly Willy loves playing with numbers. He only knows prime numbers that are digits yet. These numbers are 2, 3, 5 and 7. But W...

2019-08-12 09:55:26

阅读数 11

评论数 0

Number Challenge(CF-235E)

Problem Description Let's denote d(n) as the number of divisors of a positive integer n. You are given three integers a, b and c. Your task is to ca...

2019-08-10 10:15:30

阅读数 12

评论数 0

Hydra(CF-244D)

Problem Description One day Petya got a birthday present from his mom: a book called "The Legends and Myths of Graph Theory". From this bo...

2019-08-07 22:04:53

阅读数 8

评论数 0

Beauty Pageant(CF-246C)

Problem Description General Payne has a battalion of n soldiers. The soldiers' beauty contest is coming up, it will last for k days. Payne decided t...

2019-08-07 21:34:31

阅读数 50

评论数 0

Colorful Graph(CF-246D)

Problem Description You've got an undirected graph, consisting of n vertices and m edges. We will consider the graph's vertices numbered with intege...

2019-08-07 21:13:16

阅读数 41

评论数 0

The Brand New Function(CF-224C)

Problem Description Polycarpus has a sequence, consisting of n non-negative integers: a1, a2, ..., an. Let's define function f(l, r) (l, r are inte...

2019-08-07 20:38:20

阅读数 45

评论数 0

Dispute(CF-242D)

Problem Description Valera has n counters numbered from 1 to n. Some of them are connected by wires, and each of the counters has a special button. ...

2019-08-03 10:54:54

阅读数 20

评论数 0

King's Path(CF-242C)

Problem Description The black king is standing on a chess field consisting of 109 rows and 109 columns. We will consider the rows of the field numbe...

2019-08-03 09:48:07

阅读数 16

评论数 0

提示
确定要删除当前文章?
取消 删除