Solutions are presented as using the least memory and the fastest execution time. It also takes the top 10 most recent solutions from each language. If you want to limit to a specific index, click the "Solved" button and go to that problem.
ContestId |
Name |
Phase |
Frozen |
Duration (Seconds) |
Relative Time |
Start Time |
|---|---|---|---|---|---|---|
| 592 | Codeforces Round 328 (Div. 2) | FINISHED | False | 7200 | 330096623 | Oct. 31, 2015, 4:30 p.m. |
Solved |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
|---|---|---|---|---|---|---|
| ( 234 ) | E | BCPC | PROGRAMMING | binary search geometry two pointers | 2800 |
BCPC stands for Byteforces Collegiate Programming Contest, and is the most famous competition in Byteforces. BCPC is a team competition. Each team is composed by a coach and three contestants. Blenda is the coach of the Bit State University(BSU), and she is very strict selecting the members of her team. In BSU there are n students numbered from 1 to n . Since all BSU students are infinitely smart, the only important parameters for Blenda are their reading and writing speed. After a careful measuring, Blenda have found that the i -th student have a reading speed equal to r i (words per minute), and a writing speed of w i (symbols per minute). Since BSU students are very smart, the measured speeds are sometimes very big and Blenda have decided to subtract some constant value c from all the values of reading speed and some value d from all the values of writing speed. Therefore she considers r i ' = r i - c and w i ' = w i - d . The student i is said to overwhelm the student j if and only if r i '· w j ' > r j '· w i ' . Blenda doesn’t like fights in teams, so she thinks that a team consisting of three distinct students i , j and k is good if i overwhelms j , j overwhelms k , and k overwhelms i . Yes, the relation of overwhelming is not transitive as it often happens in real life. Since Blenda is busy preparing a training camp in Codeforces, you are given a task to calculate the number of different good teams in BSU. Two teams are considered to be different if there is at least one student that is present in one team but is not present in the other. In other words, two teams are different if the sets of students that form these teams are different. In the first line of the input three integers n , c and d ( 3 ≤ n ≤ 345678, 1 ≤ c , d ≤ 10 9 ) are written. They denote the number of students Blenda can use to form teams, the value subtracted from all reading speeds and the value subtracted from all writing speeds respectively. Each of the next n lines contains t |
| Codeforces Round #328 Problem Analysis |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 14293678 | ThereIsNoSalvationForMe | E | Nov. 16, 2015, 6:32 a.m. | OK | FPC | TESTS | 52 | 436 | 14540800 | 2800 | |
| 14164575 | pegasas | E | Nov. 9, 2015, 5:10 a.m. | OK | GNU C++ | TESTS | 52 | 171 | 9625600 | 2800 | |
| 14039748 | ndatta | E | Nov. 3, 2015, 9:51 a.m. | OK | GNU C++ | TESTS | 52 | 171 | 9625600 | 2800 | |
| 14037785 | a5163273 | E | Nov. 3, 2015, 6:41 a.m. | OK | GNU C++ | TESTS | 52 | 171 | 9625600 | 2800 | |
| 14037746 | a5163273 | E | Nov. 3, 2015, 6:38 a.m. | OK | GNU C++ | TESTS | 52 | 171 | 9625600 | 2800 | |
| 14032961 | cutrain | E | Nov. 2, 2015, 7:27 p.m. | OK | GNU C++ | TESTS | 52 | 171 | 9625600 | 2800 | |
| 14006367 | zhaobing | E | Nov. 1, 2015, 11:21 a.m. | OK | GNU C++ | TESTS | 52 | 171 | 9625600 | 2800 | |
| 14039513 | ndatta | E | Nov. 3, 2015, 9:32 a.m. | OK | GNU C++ | TESTS | 52 | 171 | 9728000 | 2800 | |
| 13994058 | abeker | E | Oct. 31, 2015, 8:47 p.m. | OK | GNU C++ | TESTS | 52 | 171 | 10956800 | 2800 | |
| 27712228 | Scut82 | E | June 10, 2017, 10:53 p.m. | OK | GNU C++ | TESTS | 52 | 186 | 9625600 | 2800 | |
| 17034109 | Septher | E | March 30, 2016, 12:51 p.m. | OK | GNU C++ | TESTS | 52 | 187 | 8396800 | 2800 | |
| 14053023 | younis | E | Nov. 4, 2015, 7:56 a.m. | OK | GNU C++11 | TESTS | 52 | 93 | 14336000 | 2800 | |
| 13997090 | eddy1021 | E | Oct. 31, 2015, 11:45 p.m. | OK | GNU C++11 | TESTS | 52 | 108 | 41574400 | 2800 | |
| 40985847 | ReaLNero1 | E | July 30, 2018, 8:12 p.m. | OK | GNU C++11 | TESTS | 52 | 109 | 41574400 | 2800 | |
| 13997162 | FatalEagle | E | Oct. 31, 2015, 11:54 p.m. | OK | GNU C++11 | TESTS | 52 | 124 | 3174400 | 2800 | |
| 14349077 | logickaiser | E | Nov. 19, 2015, 7:23 p.m. | OK | GNU C++11 | TESTS | 52 | 156 | 32768000 | 2800 | |
| 15143855 | HappyNewYearMike | E | Dec. 31, 2015, 11:47 p.m. | OK | GNU C++11 | TESTS | 52 | 171 | 9625600 | 2800 | |
| 14136723 | grothendieck | E | Nov. 8, 2015, 6:32 a.m. | OK | GNU C++11 | TESTS | 52 | 171 | 9625600 | 2800 | |
| 14044868 | pikapikachu | E | Nov. 3, 2015, 4:25 p.m. | OK | GNU C++11 | TESTS | 52 | 171 | 9625600 | 2800 | |
| 13994582 | HellKitsune | E | Oct. 31, 2015, 9:06 p.m. | OK | GNU C++11 | TESTS | 52 | 171 | 9625600 | 2800 | |
| 14084712 | CWD4RKC0D3R | E | Nov. 5, 2015, 8:36 a.m. | OK | GNU C++11 | TESTS | 52 | 171 | 11059200 | 2800 | |
| 68124123 | MakeSPGreatAgain | E | Jan. 3, 2020, 2:29 p.m. | OK | GNU C++14 | TESTS | 52 | 233 | 13004800 | 2800 | |
| 68124303 | MakeSPGreatAgain | E | Jan. 3, 2020, 2:33 p.m. | OK | GNU C++14 | TESTS | 52 | 249 | 12185600 | 2800 | |
| 26222483 | KarlFreecss | E | April 8, 2017, 3:45 p.m. | OK | GNU C++14 | TESTS | 52 | 249 | 85094400 | 2800 | |
| 23386316 | Ali.Pi | E | Dec. 28, 2016, 8:18 p.m. | OK | GNU C++14 | TESTS | 52 | 295 | 37990400 | 2800 | |
| 26222453 | KarlFreecss | E | April 8, 2017, 3:43 p.m. | OK | GNU C++14 | TESTS | 52 | 296 | 16691200 | 2800 | |
| 37223680 | zhongzero | E | April 11, 2018, 12:50 p.m. | OK | GNU C++14 | TESTS | 52 | 296 | 25804800 | 2800 | |
| 37223623 | zhongzero | E | April 11, 2018, 12:48 p.m. | OK | GNU C++14 | TESTS | 52 | 312 | 25804800 | 2800 | |
| 38559915 | kut_kjb1994 | E | May 23, 2018, 11:24 a.m. | OK | GNU C++14 | TESTS | 52 | 327 | 7372800 | 2800 | |
| 38001563 | pushkar12 | E | May 7, 2018, 4:14 p.m. | OK | GNU C++14 | TESTS | 52 | 327 | 21299200 | 2800 | |
| 25647334 | akshit.lite | E | March 19, 2017, 1:36 p.m. | OK | GNU C++14 | TESTS | 52 | 342 | 20889600 | 2800 | |
| 69284242 | hjk1030 | E | Jan. 22, 2020, 7:25 a.m. | OK | GNU C++17 | TESTS | 52 | 295 | 18944000 | 2800 | |
| 49942485 | ivan100sic | E | Feb. 15, 2019, 10:24 a.m. | OK | GNU C++17 | TESTS | 52 | 295 | 19251200 | 2800 | |
| 69455321 | ks3rr | E | Jan. 24, 2020, 8:21 a.m. | OK | GNU C++17 | TESTS | 52 | 343 | 3174400 | 2800 | |
| 58651838 | INVWVZ | E | Aug. 12, 2019, 7:45 a.m. | OK | GNU C++17 | TESTS | 52 | 514 | 5632000 | 2800 | |
| 67684146 | ruo | E | Dec. 27, 2019, 8:03 a.m. | OK | GNU C++17 | TESTS | 52 | 686 | 44544000 | 2800 | |
| 14004247 | mmaxio | E | Nov. 1, 2015, 9:22 a.m. | OK | Java 8 | TESTS | 52 | 483 | 0 | 2800 | |
| 14004230 | mmaxio | E | Nov. 1, 2015, 9:21 a.m. | OK | Java 8 | TESTS | 52 | 483 | 0 | 2800 | |
| 14034498 | Tifuera | E | Nov. 2, 2015, 9:54 p.m. | OK | Java 8 | TESTS | 52 | 639 | 46796800 | 2800 | |
| 14034461 | Tifuera | E | Nov. 2, 2015, 9:50 p.m. | OK | Java 8 | TESTS | 52 | 701 | 32870400 | 2800 | |
| 14034504 | Tifuera | E | Nov. 2, 2015, 9:55 p.m. | OK | Java 8 | TESTS | 52 | 701 | 46796800 | 2800 | |
| 14211159 | opticoder | E | Nov. 12, 2015, 10:06 a.m. | OK | Java 8 | TESTS | 52 | 764 | 74240000 | 2800 | |
| 13990276 | uwi | E | Oct. 31, 2015, 6:17 p.m. | OK | Java 8 | TESTS | 52 | 795 | 49152000 | 2800 | |
| 13995502 | fnch | E | Oct. 31, 2015, 9:56 p.m. | OK | Java 8 | TESTS | 52 | 826 | 11468800 | 2800 | |
| 14999261 | AndreiNet | E | Dec. 25, 2015, 7:59 a.m. | OK | Java 8 | TESTS | 52 | 904 | 0 | 2800 | |
| 14102295 | Ruins | E | Nov. 6, 2015, 9:26 a.m. | OK | Java 8 | TESTS | 52 | 1154 | 81203200 | 2800 | |
| 14007574 | nwi | E | Nov. 1, 2015, 12:30 p.m. | OK | Python 2 | TESTS | 52 | 3275 | 67072000 | 2800 | |
| 14007804 | nwi | E | Nov. 1, 2015, 12:43 p.m. | OK | Python 2 | TESTS | 52 | 3354 | 67072000 | 2800 | |
| 14007413 | nwi | E | Nov. 1, 2015, 12:21 p.m. | OK | Python 2 | TESTS | 52 | 3587 | 67072000 | 2800 |
Back to search problems