Codeforces Round 243 (Div. 1)

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
425 Codeforces Round 243 (Div. 1) FINISHED False 7200 339085797 April 27, 2014, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1480 ) D Sereja and Squares PROGRAMMING binary search data structures hashing 2300

B'Sereja has painted n distinct points on the plane. The coordinates of each point are integers. Now he is wondering: how many squares are there with sides parallel to the coordinate axes and with points painted in all its four vertexes? Help him, calculate this number. The first line contains integer n (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105). Each of the next n lines contains two integers xi, xe2 x80 x89yi (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89xi, xe2 x80 x89yi xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105), the integers represent the coordinates of the i-th point. It is guaranteed that all the given points are distinct. In a single line print the required number of squares.'...

Tutorials

Codeforces Round #243 tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
7362096 hos.lyric D Aug. 6, 2014, 3:51 p.m. OK D TESTS 44 1996 11059200 2300
6494704 SanSiroWaltz D April 27, 2014, 5:59 p.m. OK Delphi TESTS 44 1559 4812800 2300
6489833 vodanhna D April 27, 2014, 4:14 p.m. OK FPC TESTS 44 514 43520000 2300
6493108 SanSiroWaltz D April 27, 2014, 5:10 p.m. OK FPC TESTS 44 1996 5734400 2300
6497719 LiJiancheng D April 28, 2014, 5:29 a.m. OK GNU C++ TESTS 44 109 40857600 2300
6497693 LiJiancheng D April 28, 2014, 5:22 a.m. OK GNU C++ TESTS 44 109 40857600 2300
6562843 vacuumer D May 6, 2014, 1:59 p.m. OK GNU C++ TESTS 44 124 40857600 2300
6504628 ___LH D April 29, 2014, 10:04 a.m. OK GNU C++ TESTS 44 124 40857600 2300
6492875 GlebsHP D April 27, 2014, 5:06 p.m. OK GNU C++ TESTS 44 140 43008000 2300
28014595 vjudge5 D June 25, 2017, 2:33 a.m. OK GNU C++ TESTS 44 140 55910400 2300
6909712 RNS D June 19, 2014, 2:23 a.m. OK GNU C++ TESTS 44 155 9523200 2300
6500244 dzy493941464 D April 28, 2014, 1:30 p.m. OK GNU C++ TESTS 44 155 11571200 2300
7123956 12190143 D July 17, 2014, 12:43 p.m. OK GNU C++ TESTS 44 171 5734400 2300
6928200 qqz003 D June 20, 2014, 2:18 p.m. OK GNU C++ TESTS 44 171 5734400 2300
6502089 arthur.nascimento D April 28, 2014, 6:25 p.m. OK GNU C++0x TESTS 44 139 59084800 2300
6498786 mayukuner D April 28, 2014, 9:18 a.m. OK GNU C++0x TESTS 44 171 5734400 2300
6495658 sping128 D April 27, 2014, 7:19 p.m. OK GNU C++0x TESTS 44 202 6553600 2300
6489457 atetubou D April 27, 2014, 4:09 p.m. OK GNU C++0x TESTS 44 202 10035200 2300
6498831 mayukuner D April 28, 2014, 9:24 a.m. OK GNU C++0x TESTS 44 218 7372800 2300
6512462 Kharybin D April 30, 2014, 7:17 p.m. OK GNU C++0x TESTS 44 218 12902400 2300
6512065 nekrald D April 30, 2014, 5:31 p.m. OK GNU C++0x TESTS 44 218 173875200 2300
6492350 Swistakk D April 27, 2014, 4:57 p.m. OK GNU C++0x TESTS 44 248 137216000 2300
9387442 hkglly D Jan. 8, 2015, 4:04 p.m. OK GNU C++0x TESTS 44 249 6963200 2300
6492366 Antoniuk D April 27, 2014, 4:58 p.m. OK GNU C++0x TESTS 44 249 10240000 2300
60501804 rainboy D Sept. 13, 2019, 7:05 p.m. OK GNU C11 TESTS 44 1138 4403200 2300
47356118 vjudge4 D Dec. 22, 2018, 6:21 a.m. OK GNU C++11 TESTS 44 140 9728000 2300
27784801 AbstractKangaroo D June 15, 2017, 2:29 a.m. OK GNU C++11 TESTS 44 155 7270400 2300
21906487 Duxar D Oct. 31, 2016, 8:30 a.m. OK GNU C++11 TESTS 44 186 5632000 2300
32187651 johncreed D Nov. 10, 2017, 7 a.m. OK GNU C++11 TESTS 44 202 5734400 2300
47877280 ShafinKhadem D Jan. 3, 2019, 4:10 p.m. OK GNU C++11 TESTS 44 202 6451200 2300
55281599 RedStar_13 D June 8, 2019, 1:35 a.m. OK GNU C++11 TESTS 44 202 12595200 2300
16901615 isdkfj D March 24, 2016, 6:38 a.m. OK GNU C++11 TESTS 44 217 15360000 2300
23737053 RVS D Jan. 12, 2017, 12:44 p.m. OK GNU C++11 TESTS 44 217 178278400 2300
31970825 eddy1021 D Nov. 2, 2017, 7:28 a.m. OK GNU C++11 TESTS 44 218 5632000 2300
10983869 K_D_M D May 3, 2015, 1:09 p.m. OK GNU C++11 TESTS 44 218 6860800 2300
41005212 ReaLNero1 D July 31, 2018, 9:18 a.m. OK GNU C++14 TESTS 44 124 4096000 2300
22478051 gabrielsimoes D Nov. 24, 2016, 7:45 p.m. OK GNU C++14 TESTS 44 139 4096000 2300
34258482 akashdeep D Jan. 17, 2018, 5:35 p.m. OK GNU C++14 TESTS 44 217 175513600 2300
44085063 kill_em_all D Oct. 10, 2018, 4:59 p.m. OK GNU C++14 TESTS 44 249 5836800 2300
32371467 gantheory D Nov. 17, 2017, 7:17 a.m. OK GNU C++14 TESTS 44 249 5939200 2300
34276763 Artemis_Fowl D Jan. 18, 2018, 1:21 p.m. OK GNU C++14 TESTS 44 264 180019200 2300
30296914 KhaleD_ D Sept. 12, 2017, 11:59 p.m. OK GNU C++14 TESTS 44 265 6553600 2300
47353726 vjudge1 D Dec. 22, 2018, 4:56 a.m. OK GNU C++14 TESTS 44 312 14336000 2300
37683498 boook D April 28, 2018, 11:17 a.m. OK GNU C++14 TESTS 44 358 9830400 2300
41662836 misael D Aug. 16, 2018, 7:28 p.m. OK GNU C++14 TESTS 44 358 10854400 2300
43581191 3agwa D Sept. 29, 2018, 5:29 p.m. OK GNU C++17 TESTS 44 218 6553600 2300
55951812 vjudge3 D June 23, 2019, 3:14 a.m. OK GNU C++17 TESTS 44 249 156774400 2300
44009345 0ogway D Oct. 8, 2018, 5:29 p.m. OK GNU C++17 TESTS 44 280 6656000 2300
38991555 yaksha D June 6, 2018, 10:32 a.m. OK GNU C++17 TESTS 44 311 285696000 2300
48192379 Catmoonlight D Jan. 10, 2019, 6:44 p.m. OK GNU C++17 TESTS 44 374 13824000 2300
48203052 Catmoonlight D Jan. 11, 2019, 6:59 a.m. OK GNU C++17 TESTS 44 389 13824000 2300
58360516 Phortox D Aug. 5, 2019, 11:46 p.m. OK GNU C++17 TESTS 44 389 34508800 2300
43067352 fsshakkhor D Sept. 19, 2018, 6:38 a.m. OK GNU C++17 TESTS 44 405 15155200 2300
58360531 Phortox D Aug. 5, 2019, 11:48 p.m. OK GNU C++17 TESTS 44 405 34508800 2300
60459878 pushkar12 D Sept. 12, 2019, 7:58 p.m. OK GNU C++17 TESTS 44 420 12800000 2300
7100947 SDU_Lucy D July 14, 2014, 1:10 p.m. OK Java 6 TESTS 44 1621 13516800 2300
10030444 emo D Feb. 26, 2015, 9:28 a.m. OK Java 7 TESTS 44 530 0 2300
10030245 emo D Feb. 26, 2015, 9:07 a.m. OK Java 7 TESTS 44 530 0 2300
6490692 Petr D April 27, 2014, 4:28 p.m. OK Java 7 TESTS 44 530 409600 2300
6491098 Egor D April 27, 2014, 4:35 p.m. OK Java 7 TESTS 44 577 102400 2300
7862402 hama-du D Sept. 20, 2014, 5:47 a.m. OK Java 7 TESTS 44 654 102400 2300
6497033 ftiasch D April 28, 2014, 2:32 a.m. OK Java 7 TESTS 44 717 204800 2300
6497546 tanzaku D April 28, 2014, 4:47 a.m. OK Java 7 TESTS 44 748 38912000 2300
6503585 chinh7 D April 29, 2014, 5:50 a.m. OK Java 7 TESTS 44 888 102400 2300
6494760 nickbuelich D April 27, 2014, 6 p.m. OK Java 7 TESTS 44 888 57446400 2300
6493922 nickbuelich D April 27, 2014, 5:25 p.m. OK Java 7 TESTS 44 888 57446400 2300
57710596 Ahmad D July 24, 2019, 11:27 p.m. OK Java 8 TESTS 44 592 40243200 2300
26759101 I_Need_Alex_R_Coleman D April 30, 2017, 2:46 a.m. OK Java 8 TESTS 44 841 65843200 2300
6533328 IgorKoval D May 2, 2014, 7:53 p.m. OK Java 8 TESTS 44 1232 7884800 2300
6502049 mmaxio D April 28, 2014, 6:15 p.m. OK Java 8 TESTS 44 1559 2457600 2300
19519953 lyyllyyl D July 30, 2016, 3 p.m. OK Java 8 TESTS 44 1575 17100800 2300
57710545 Ahmad D July 24, 2019, 11:26 p.m. OK Java 8 TESTS 44 1621 19046400 2300
41446084 aminul D Aug. 11, 2018, 12:13 a.m. OK Java 8 TESTS 44 1668 37376000 2300
60501803 Dukkha D Sept. 13, 2019, 7:05 p.m. OK Java 8 TESTS 44 1777 0 2300
6489503 kcm1700 D April 27, 2014, 4:10 p.m. OK MS C++ TESTS 44 140 10854400 2300
6507181 Nakochi D April 29, 2014, 5:13 p.m. OK MS C++ TESTS 44 202 12185600 2300
6507098 Nakochi D April 29, 2014, 4:56 p.m. OK MS C++ TESTS 44 202 12185600 2300
6495689 BalloonphiliaR D April 27, 2014, 7:23 p.m. OK MS C++ TESTS 44 280 7680000 2300
6492407 Anarivu D April 27, 2014, 4:58 p.m. OK MS C++ TESTS 44 296 2252800 2300
6536950 vjudge4 D May 3, 2014, 7:49 a.m. OK MS C++ TESTS 44 312 116633600 2300
6615297 VolodymyrK D May 14, 2014, 1:11 p.m. OK MS C++ TESTS 44 327 11264000 2300
6719054 dkorduban D May 27, 2014, 3:56 a.m. OK MS C++ TESTS 44 342 11878400 2300
6494515 RAVEman D April 27, 2014, 5:55 p.m. OK MS C++ TESTS 44 467 35532800 2300
6515827 audin1000 D May 1, 2014, 11:22 a.m. OK MS C++ TESTS 44 483 8089600 2300

remove filters

Back to search problems