Codeforces Round 497 (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
1007 Codeforces Round 497 (Div. 1) FINISHED False 7800 205946687 July 13, 2018, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 965 ) B Pave the Parallelepiped PROGRAMMING bitmasks brute force combinatorics math number theory 2400

B'You are given a rectangular parallelepiped with sides of positive integer lengths A , B and C . Find the number of different groups of three integers ( a , b , c ) such that 1 <= q a <= q b <= q c and parallelepiped A x B x C can be paved with parallelepipeds a x b x c . Note, that all small parallelepipeds have to be rotated in the same direction. For example, parallelepiped 1 x 5 x 6 can be divided into parallelepipeds 1 x 3 x 5 , but can not be divided into parallelepipeds 1 x 2 x 3 . The first line contains a single integer t ( 1 <= q t <= q 10^5 ) -- the number of test cases. Each of the next t lines contains three integers A , B and C ( 1 <= q A, B, C <= q 10^5 ) -- the sizes of the parallelepiped. For each test case, print the number of different groups of three points that satisfy all given conditions. In the first test case, rectangular parallelepiped (1, 1, 1) can be only divided into rectangular parallelepiped with sizes (1, 1, 1) . In the second test case, rectangular parallelepiped (1, 6, 1) can be divided into rectangular parallelepipeds with sizes (1, 1, 1) , (1, 1, 2) , (1, 1, 3) and (1, 1, 6) . In the third test case, rectangular parallelepiped (2, 2, 2) can be divided into rectangular parallelepipeds with sizes (1, 1, 1) , (1, 1, 2) , (1, 2, 2) and (2, 2, 2) . '...

Tutorials

Editorial for Codeforces Round #497 by Skyglow

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
40775628 Owaski B July 26, 2018, 11:10 a.m. OK GNU C++ TESTS 28 93 409600 2400
40302356 616156 B July 14, 2018, 3:08 a.m. OK GNU C++ TESTS 28 109 2252800 2400
40476157 vjudge3 B July 17, 2018, 11:57 a.m. OK GNU C++ TESTS 28 124 204800 2400
41658346 Muni B Aug. 16, 2018, 4:18 p.m. OK GNU C++ TESTS 28 124 2252800 2400
40545532 cqbz163003gzm B July 19, 2018, 11:29 a.m. OK GNU C++ TESTS 28 140 1740800 2400
40286489 sunsiyu B July 13, 2018, 4:01 p.m. OK GNU C++ TESTS 28 202 819200 2400
40302503 PinkRabbit B July 14, 2018, 3:16 a.m. OK GNU C++ TESTS 28 217 1638400 2400
40295486 tomekkulczynski B July 13, 2018, 7:51 p.m. OK GNU C++ TESTS 28 218 204800 2400
40315846 vjudge3 B July 14, 2018, 10:38 a.m. OK GNU C++ TESTS 28 234 409600 2400
40315867 vjudge5 B July 14, 2018, 10:39 a.m. OK GNU C++ TESTS 28 249 409600 2400
40310748 FallDream B July 14, 2018, 7:55 a.m. OK GNU C++11 TESTS 28 109 409600 2400
40286013 LifeCracker B July 13, 2018, 3:57 p.m. OK GNU C++11 TESTS 28 109 409600 2400
40285379 __math B July 13, 2018, 3:53 p.m. OK GNU C++11 TESTS 28 109 409600 2400
57844306 zhouzhuan B July 27, 2019, 10:27 a.m. OK GNU C++11 TESTS 28 109 819200 2400
57826181 Alan_zhou B July 27, 2019, 3:15 a.m. OK GNU C++11 TESTS 28 109 819200 2400
40548320 JeremyGJY B July 19, 2018, 12:57 p.m. OK GNU C++11 TESTS 28 109 1331200 2400
56612812 shengjie B July 6, 2019, 8:10 a.m. OK GNU C++11 TESTS 28 109 2252800 2400
40300763 duxing201606 B July 14, 2018, 1:48 a.m. OK GNU C++11 TESTS 28 109 2457600 2400
41277503 dy0607 B Aug. 6, 2018, 2:01 p.m. OK GNU C++11 TESTS 28 124 409600 2400
40504140 anxcf B July 18, 2018, 7:38 a.m. OK GNU C++11 TESTS 28 124 409600 2400
40305984 brandonzhang B July 14, 2018, 5:46 a.m. OK GNU C++14 TESTS 28 62 512000 2400
41002490 reviewluminous B July 31, 2018, 7:52 a.m. OK GNU C++14 TESTS 28 108 409600 2400
40299229 antguz B July 14, 2018, 12:20 a.m. OK GNU C++14 TESTS 28 109 409600 2400
40282228 ecnerwala B July 13, 2018, 3:33 p.m. OK GNU C++14 TESTS 28 109 819200 2400
41324895 lixinyue B Aug. 8, 2018, 4:31 a.m. OK GNU C++14 TESTS 28 124 409600 2400
40550326 I_love_chickpea B July 19, 2018, 2:01 p.m. OK GNU C++14 TESTS 28 124 409600 2400
40468140 ddolgu14 B July 17, 2018, 7:50 a.m. OK GNU C++14 TESTS 28 124 409600 2400
40299982 TsReaper B July 14, 2018, 1:07 a.m. OK GNU C++14 TESTS 28 124 409600 2400
40295680 brandonzhang B July 13, 2018, 7:58 p.m. OK GNU C++14 TESTS 28 124 409600 2400
40295566 brandonzhang B July 13, 2018, 7:54 p.m. OK GNU C++14 TESTS 28 124 409600 2400
66048900 910306264 B Nov. 30, 2019, 4:18 p.m. OK GNU C++17 TESTS 28 78 4608000 2400
49556068 victorious-98 B Feb. 7, 2019, 9:44 a.m. OK GNU C++17 TESTS 28 109 409600 2400
40371234 q234rty B July 15, 2018, 8:18 a.m. OK GNU C++17 TESTS 28 109 10444800 2400
41692253 i11000 B Aug. 17, 2018, 2:53 p.m. OK GNU C++17 TESTS 28 124 409600 2400
40635802 MightyMax B July 22, 2018, 12:48 p.m. OK GNU C++17 TESTS 28 140 409600 2400
40306801 zhysora B July 14, 2018, 6:13 a.m. OK GNU C++17 TESTS 28 140 409600 2400
40278136 Radewoosh B July 13, 2018, 3:13 p.m. OK GNU C++17 TESTS 28 140 1638400 2400
69227446 SGHD B Jan. 21, 2020, 7:57 a.m. OK GNU C++17 TESTS 28 155 512000 2400
40294027 cthbst B July 13, 2018, 7:09 p.m. OK GNU C++17 TESTS 28 155 921600 2400
40413449 unused B July 16, 2018, 1:37 p.m. OK GNU C++17 TESTS 28 156 819200 2400
40288501 Egor B July 13, 2018, 4:17 p.m. OK Java 8 TESTS 28 233 0 2400
40501198 tri B July 18, 2018, 6:18 a.m. OK Java 8 TESTS 28 296 0 2400
40290969 Wavator B July 13, 2018, 4:35 p.m. OK Java 8 TESTS 28 358 0 2400
40294366 uwi B July 13, 2018, 7:17 p.m. OK Java 8 TESTS 28 530 16896000 2400
40294575 uwi B July 13, 2018, 7:23 p.m. OK Java 8 TESTS 28 545 16793600 2400
40276823 mmaxio B July 13, 2018, 3:08 p.m. OK Java 8 TESTS 28 623 0 2400
40287538 vovacomua B July 13, 2018, 4:09 p.m. OK Java 8 TESTS 28 623 8499200 2400
40294128 uwi B July 13, 2018, 7:12 p.m. OK Java 8 TESTS 28 639 0 2400
40302313 sirknightingfail B July 14, 2018, 3:06 a.m. OK Java 8 TESTS 28 1996 76083200 2400
42298535 math957963 B Aug. 31, 2018, 5:52 a.m. OK MS C++ TESTS 28 187 0 2400
40551728 lxn B July 19, 2018, 2:54 p.m. OK MS C++ TESTS 28 1700 512000 2400
40551965 lxn B July 19, 2018, 3:02 p.m. OK MS C++ TESTS 28 1716 512000 2400
40552074 lxn B July 19, 2018, 3:06 p.m. OK MS C++ TESTS 28 1747 512000 2400
44584869 LoneFox B Oct. 20, 2018, 9:18 a.m. OK MS C++ TESTS 28 1809 10547200 2400
40297589 Ali_Pi B July 13, 2018, 9:52 p.m. OK PyPy 2 TESTS 28 1668 8806400 2400
44779230 test616.cpp B Oct. 24, 2018, 3:41 p.m. OK PyPy 2 TESTS 28 1965 11264000 2400
40297698 Ali_Pi B July 13, 2018, 10:01 p.m. OK PyPy 3 TESTS 28 1981 12595200 2400
40318218 wangkan2001 B July 14, 2018, 12:09 p.m. OK Python 2 TESTS 28 1419 4198400 2400
40297097 sallyyao2001 B July 13, 2018, 9:12 p.m. OK Python 2 TESTS 28 1465 4198400 2400
40297584 Ali_Pi B July 13, 2018, 9:52 p.m. OK Python 2 TESTS 28 1637 4198400 2400
40311323 orailly B July 14, 2018, 8:10 a.m. OK Python 3 TESTS 28 998 8396800 2400
40315404 orailly B July 14, 2018, 10:20 a.m. OK Python 3 TESTS 28 1013 9932800 2400
42132930 Mk_Python_v1 B Aug. 26, 2018, 8:05 p.m. OK Python 3 TESTS 28 1075 9932800 2400

remove filters

Back to search problems