摘要:
Train and Peter CodeForces - 8A Peter likes to travel by train. He likes it so much that on the train he falls asleep. Once in summer Peter was going 阅读全文
摘要:
Strange Addition CodeForces - 305A Unfortunately, Vasya can only sum pairs of integers (a, b), such that for any decimal place at least one number has 阅读全文
摘要:
Three Logos CodeForces - 581D Three companies decided to order a billboard with pictures of their logos. A billboard is a big square board. A logo of 阅读全文
摘要:
Predict Outcome of the Game CodeForces - 451C There are n games in a football tournament. Three teams are participating in it. Currently k games had a 阅读全文
摘要:
Friends and Presents CodeForces - 483B You have two friends. You want to present each of them several positive integers. You want to present cnt1 numb 阅读全文
摘要:
Mischievous Mess Makers CodeForces - 645B It is a balmy spring afternoon, and Farmer John's n cows are ruminating about link-cut cacti in their stalls 阅读全文
摘要:
Riding in a Lift CodeForces - 479E Imagine that you are in a building that has exactly n floors. You can move between the floors in a lift. Let's numb 阅读全文
摘要:
Hard Process CodeForces - 660C You are given an array a with n elements. Each element of a is either 0 or 1. Let's denote the length of the longest su 阅读全文
摘要:
DZY Loves Physics CodeForces - 444A DZY loves Physics, and he enjoys calculating density. Almost everything has density, even a graph. We define the d 阅读全文