codeforces
Hanylch
菜鸟的起飞之路
Think and Practice
展开
-
Educational Codeforces Round 21 D. Array Division(前缀和,二分)
D. Array Division time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Vasya has an array a consisting of positive integer numbers. Vasya wants原创 2017-05-17 09:37:52 · 710 阅读 · 0 评论 -
Sagheer and Nubian Market(二分)
time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output On his trip to Luxor and Aswan, Sagheer went to a Nubian market to buy some souvenirs for h原创 2017-06-02 09:15:33 · 772 阅读 · 0 评论 -
Nested Segments CodeForces - 652D (树状数组,离散化)
You are given n segments on a line. There are no ends of some segments that coincide. For each segment find the number of segments it contains.Input The first line contains a single integer n (1 ≤ n ≤原创 2017-06-06 21:09:58 · 277 阅读 · 0 评论 -
B. Sagheer, the Hausmeister(codeforce 417 div2 B, dfs)
B. Sagheer, the Hausmeister time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Some people leave the lights at their workplaces on when they l原创 2017-06-02 17:38:00 · 325 阅读 · 0 评论