- 博客(8)
- 资源 (9)
- 收藏
- 关注
原创 Codeforce 839C Journey (dfs+概率)
C. Journeytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n cities and n - 1 roads in the Seven Kingdoms, each road connects two cities and we can reach any city from any other by the roa
2017-11-25 17:25:30 885
原创 Educational Codeforces Round 33 (Rated for Div. 2) A-C题解
A. Chess For Threetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAlex, Bob and Carl will soon participate in a team chess tournament. Since they are all in the same team, they have decided to pract
2017-11-25 10:02:50 742
原创 Codeforces Round #447 (Div. 2) A-C题解
A. QAQtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output"QAQ" is a word to denote an expression of crying. Imagine "Q" as eyes with tears and "A" as a mouth.Now Diamond has given Bort a string consi
2017-11-20 16:52:27 1096
原创 FZU_2216 The Longest Straight (二分)
Problem 2216 The Longest Straight Accept: 441 Submit: 1380Time Limit: 1000 mSec Memory Limit : 32768 KB Problem DescriptionZB is playing a card game where the goal is to make str
2017-11-19 17:22:57 603
原创 Codeforces Round #446 (Div. 2) A-C 题解
A. Greedtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputJafar has n cans of cola. Each can is described by two integers: remaining volume of cola ai and can's capacity bi (ai ≤ bi).Jafar has de
2017-11-18 13:53:50 841 2
原创 Codeforces Round #444 (Div. 2) A-C 题解
A. Div. 64time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputTop-model Izabella participates in the competition. She wants to impress judges and show her mathematical skills.Her problem is following:
2017-11-17 15:19:33 973
原创 Codeforces Round #443 (Div. 2) A-C 题解
A. Borya's Diagnosistime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIt seems that Borya is seriously sick. He is going visit n doctors to find out the exact diagnosis. Each of the doctors needs the
2017-11-16 21:37:54 694
原创 洛谷P3031 中石油2557 Above the Median (数组模拟or树状数组求逆序数)
Farmer John has lined up his N (1 <= N <= 100,000) cows in a row to measure their heights; cow i has height H_i (1 <= H_i <= 1,000,000,000) nanometers--FJ believes in precise measurements! He wants to take a picture of some contiguous subsequence of the co
2017-11-02 15:22:02 759
数据结构之树状数组讲解
2018-07-27
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人