Description：Overall there aremactors in Berland. Each actor has a personal identifier — an integer from1tom(distinct actors have

24阅读
Description：You're playing a game called Osu! Here's a simplified version of it. There arenclicks in a game. For rrect as "O", b...

36阅读
Description：The black king is standing on a chess field consisting of109rows and109columns. We will consider the rows of th

31阅读
Description：Vasya is pressing the keys on the keyboard reluctantly, squeezing out his ideas on the classical epos d h...

34阅读
Description：Mr. Bender has a digital table of sizen × n, each cell can be switched on or off. He wants the field to have at lea

30阅读
Description： 给出n个数，求是否存在一个非空子集，这个子集中的数的和能够被m整除

29阅读
Description：You've got a undirected graphG, consisting ofnnodes. We will consider the nodes of the graph indexed by intes connected by edges ...

21阅读
Description：One day Vasya came up to the blackboard and wrote outndistinct integers from1tonin some order in a circle. re...

26阅读
Description：The Greatest Secret Ever consists ofnwords, indexed by positive integers from1ton. The secret needs dividing bgers from1tok), ...

31阅读

31阅读
Description：\quadCreatnx has n mirrors, numbered from 111 to nnn. Eve

41阅读
Description：\quadAn integer sequence is called beautiful if the difference betw

22阅读

24阅读

25阅读

27阅读

30阅读
Description：ents can intersect, lie inside each other and even coi...

29阅读

17阅读

31阅读

32阅读
B题居然是卡我时间最长的题卡了快一个小时，真的想复杂了，对于这种模拟题就是得

18阅读

26阅读

40阅读

29阅读

18阅读
Description：Given a prime number C(1≤C≤2×105)C(1≤C≤2×10^5)C(1≤C≤2

22阅读

23阅读
\quadThe only difference between problems C1C1C1 and C2C2C2 is that all values in inpu

22阅读

20阅读

18阅读