
思维
wxl7777
这个作者很懒,什么都没留下…
展开
-
Codeforces Global Round 1 E. Magic Stones
Grigory has nn magic stones, conveniently numbered from 11 to nn. The charge of the ii-th stone is equal to cici. Sometimes Grigory gets bored and selects some inner stone (that is, some stone with i...原创 2019-02-10 20:33:04 · 355 阅读 · 0 评论 -
C. Vanya and Scales
Vanya has a scales for weighing loads and weights of massesw0, w1, w2, ..., w100grams wherewis some integer not less than2(exactly one weight of each nominal value). Vanya wonders whether he can ...原创 2019-06-09 21:50:15 · 297 阅读 · 0 评论 -
A. Mafia
One daynfriends gathered together to play "Mafia". During each round of the game some player must be the supervisor and othern - 1people take part in the game. For each person we know in how many r...原创 2019-06-15 21:54:00 · 242 阅读 · 0 评论