Codeforces Round 125 (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
198 Codeforces Round 125 (Div. 1) FINISHED False 7200 391444199 June 22, 2012, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 107 ) D Cube Snake PROGRAMMING constructive algorithms 2700

B"You've got an n xe2 x80 x89 xc3 x97 xe2 x80 x89n xe2 x80 x89 xc3 x97 xe2 x80 x89n cube, split into unit cubes. Your task is to number all unit cubes in this cube with positive integers from 1 to n3 so that: Find and print the required numeration of unit cubes of the cube. The first line contains a single integer n (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8950) -- the size of the cube, whose unit cubes need to be numbered. Print all layers of the cube as n n xe2 x80 x89 xc3 x97 xe2 x80 x89n matrices. Separate them with new lines. Print the layers in the order in which they follow in the cube. See the samples for clarifications. It is guaranteed that there always is a solution that meets the conditions given in the problem statement. In the sample the cubes with sizes 2 xe2 x80 x89 xc3 x97 xe2 x80 x892 xe2 x80 x89 xc3 x97 xe2 x80 x892 are numbered with integers 1, xe2 x80 x89..., xe2 x80 x898 and 5, xe2 x80 x89..., xe2 x80 x8912."...

Tutorials

Solutions for Codeforces Round #125

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
1847366 -XraY- D July 1, 2012, 9:45 a.m. OK GNU C++ TESTS 50 60 2048000 2700
2003369 ACMonster D Aug. 13, 2012, 6:21 a.m. OK GNU C++ TESTS 50 60 2560000 2700
1821825 Komaki D June 22, 2012, 6:45 p.m. OK GNU C++ TESTS 50 60 2764800 2700
1838104 MinakoKojima D June 29, 2012, 11:44 a.m. OK GNU C++ TESTS 50 60 6656000 2700
14141176 130705009 D Nov. 8, 2015, 12:57 p.m. OK GNU C++ TESTS 50 62 512000 2700
8902878 Stilwell D Dec. 1, 2014, 7:38 a.m. OK GNU C++ TESTS 50 62 614400 2700
15143594 HappyNewYearMike D Dec. 31, 2015, 11:25 p.m. OK GNU C++ TESTS 50 62 1024000 2700
5396889 PSDEV D Dec. 9, 2013, 12:35 p.m. OK GNU C++ TESTS 50 62 1126400 2700
41724847 Scut82 D Aug. 17, 2018, 6:54 p.m. OK GNU C++ TESTS 50 62 6758400 2700
41750861 Scut82 D Aug. 18, 2018, 9:31 a.m. OK GNU C++ TESTS 50 62 8499200 2700
8885129 equation314 D Nov. 29, 2014, 5:21 a.m. OK GNU C++0x TESTS 50 62 1331200 2700
8885104 equation314 D Nov. 29, 2014, 5:16 a.m. OK GNU C++0x TESTS 50 92 1331200 2700
41003664 zhouyuyang D July 31, 2018, 8:31 a.m. OK GNU C++11 TESTS 50 62 716800 2700
11507568 motoko D June 9, 2015, 10:15 a.m. OK GNU C++11 TESTS 50 62 716800 2700
35844239 ______u______ D March 2, 2018, 3:26 p.m. OK GNU C++11 TESTS 50 62 3481600 2700
35844208 ______n______ D March 2, 2018, 3:26 p.m. OK GNU C++11 TESTS 50 62 3481600 2700
35843999 _____i_____ D March 2, 2018, 3:22 p.m. OK GNU C++11 TESTS 50 62 3481600 2700
35843765 _____k_____ D March 2, 2018, 3:17 p.m. OK GNU C++11 TESTS 50 62 3481600 2700
35838947 ______k______ D March 2, 2018, 1:43 p.m. OK GNU C++11 TESTS 50 62 3481600 2700
35838940 ______h______ D March 2, 2018, 1:43 p.m. OK GNU C++11 TESTS 50 62 3481600 2700
35838809 ______i______ D March 2, 2018, 1:41 p.m. OK GNU C++11 TESTS 50 62 3481600 2700
35836373 ______M______ D March 2, 2018, 12:53 p.m. OK GNU C++11 TESTS 50 62 3481600 2700
60467195 Scut82 D Sept. 13, 2019, 2:40 a.m. OK GNU C++14 TESTS 50 62 2252800 2700
56034688 Scut82 D June 25, 2019, 11:30 a.m. OK GNU C++14 TESTS 50 62 6041600 2700
70005629 vjudge3 D Feb. 2, 2020, 4:41 a.m. OK GNU C++14 TESTS 50 62 10649600 2700
69848514 iotang D Jan. 30, 2020, 2:57 p.m. OK GNU C++14 TESTS 50 92 614400 2700
56034335 Scut82 D June 25, 2019, 11:19 a.m. OK GNU C++14 TESTS 50 92 4710400 2700
67270550 ElangBondol D Dec. 20, 2019, 8:05 a.m. OK GNU C++14 TESTS 50 122 32256000 2700
23668009 Ali.Pi D Jan. 9, 2017, 5:27 p.m. OK GNU C++14 TESTS 50 124 7168000 2700
69848584 vjudge2 D Jan. 30, 2020, 2:58 p.m. OK GNU C++17 TESTS 50 92 614400 2700
65284225 ffao D Nov. 18, 2019, 7:27 a.m. OK GNU C++17 TESTS 50 92 1433600 2700
1851034 ProCoder D July 3, 2012, 9:21 a.m. OK Java 6 TESTS 50 420 91238400 2700
1820021 Petr D June 22, 2012, 5:17 p.m. OK Java 6 TESTS 50 480 91136000 2700
1820493 Timur_Sitdikov D June 22, 2012, 5:26 p.m. OK MS C++ TESTS 50 60 5427200 2700
1827882 Shef D June 24, 2012, 4:33 p.m. OK MS C++ TESTS 50 80 3584000 2700
1821550 natalia D June 22, 2012, 6:22 p.m. OK MS C++ TESTS 50 90 2150400 2700
1819542 poopi D June 22, 2012, 5:08 p.m. OK MS C++ TESTS 50 140 53452800 2700

remove filters

Back to search problems