codeforces
Codeforces #1113C
1113C C. Sasha and a Bit of Relax 题意 给一个数组,然后求满足 的[l, r]子序列有多少个,其中表示异或计算。 思路 关键点在于如果满足条件的[l,r]存在,那么
Codeforces #879C
879C C. Short Program time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Petya learned a new programming language CALPAS. A program in this language always takes one non-negative integer and returns one non-negative integer as well.
Codeforces #733 D
733D D. Kostya the Sculptor time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output Kostya is a genial sculptor, he has an idea: to carve a marble sculpture in the shape of a sphere. Kostya has a friend Zahar who works at a career. Zahar knows about Kostya’s idea and wants to present him a rectangular parallelepiped of marble from which he can carve the sphere.
Codeforces #719 C
719C C. Efim and Strange Grade time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output
Codeforces #721 C
721C C. Journey time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output Recently Irina arrived to one of the most famous cities of Berland — the Berlatov city. There are n showplaces in the city, numbered from1 to n, and some of them are connected by one-directional roads. The roads in Berlatov are designed in a way such that there are nocyclic routes between showplaces.
Codeforces #527 C
527C C. Glass Carving time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Leonid wants to become a glass carver (the person who creates beautiful artworks by cutting the glass). He already has a rectangular wmm × h mm sheet of glass, a diamond glass cutter and lots of enthusiasm. What he lacks is understanding of what to carve and how.
Codeforces #454 C
Codeforces #454 C C. Little Pony and Expected Maximum time limit per test 1 second memory limit per test 256 megabytes input standard input output
Codeforces #459 B
Codeforces #459 B B. Pashmak and Flowers time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output
Codeforces #459 A
昨天刚回学校, 晚上就和孟海一起打了一场, 结果得了个鸭蛋, 身残志坚, 我还能再战. Codeforces #459 A A. Pashmak and Garden