Manthan, Codefest 19 (open for everyone, rated, Div. 1 + Div. 2)

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
1208 Manthan, Codefest 19 (open for everyone, rated, Div. 1 + Div. 2) FINISHED False 7500 170695487 Aug. 25, 2019, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 6094 ) C Magic Grid PROGRAMMING constructive algorithms 1800

B'Let us define a magic grid to be a square matrix of integers of size n x n , satisfying the following conditions. You are given an integer n which is a multiple of 4 . Construct a magic grid of size n x n . The only line of input contains an integer n ( 4 <= q n <= q 1000 ). It is guaranteed that n is a multiple of 4 . Print a magic grid, i.e. n lines, the i -th of which contains n space-separated integers, representing the i -th row of the grid. If there are multiple answers, print any. We can show that an answer always exists. In the first example, XOR of each row and each column is 13 . In the second example, XOR of each row and each column is 60 . '...

Tutorials

69357

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
59495308 ruban C Aug. 25, 2019, 9:40 p.m. OK Delphi TESTS 40 249 144486400 1800
59837551 yzh666 C Sept. 1, 2019, 5:22 a.m. OK GNU C++11 TESTS 40 46 4198400 1800
60441761 ybw051114 C Sept. 12, 2019, 12:45 p.m. OK GNU C++11 TESTS 40 46 16076800 1800
59480071 pufanyi C Aug. 25, 2019, 4:21 p.m. OK GNU C++11 TESTS 40 46 16076800 1800
59510912 wannaAC C Aug. 26, 2019, 7:58 a.m. OK GNU C++11 TESTS 40 61 4096000 1800
59500635 orzzcy C Aug. 26, 2019, 2:33 a.m. OK GNU C++11 TESTS 40 61 4096000 1800
59702346 pufanyi C Aug. 30, 2019, 11:12 a.m. OK GNU C++11 TESTS 40 61 16076800 1800
59476992 makacha C Aug. 25, 2019, 4:04 p.m. OK GNU C++11 TESTS 40 61 16076800 1800
60677916 luogu_bot4 C Sept. 16, 2019, 1:02 p.m. OK GNU C++11 TESTS 40 62 0 1800
59498274 chenyewei_1234 C Aug. 26, 2019, 12:41 a.m. OK GNU C++11 TESTS 40 62 3891200 1800
59640222 Lenosey C Aug. 29, 2019, 12:48 a.m. OK GNU C++11 TESTS 40 62 5017600 1800
60701777 wleung_bvg C Sept. 17, 2019, 1:20 a.m. OK GNU C++14 TESTS 40 62 4198400 1800
59629196 Player0109 C Aug. 28, 2019, 5:20 p.m. OK GNU C++14 TESTS 40 140 3993600 1800
68706952 wanghaoze C Jan. 13, 2020, 11:40 a.m. OK GNU C++14 TESTS 40 140 4096000 1800
61790891 amokrousov C Oct. 3, 2019, 3:51 p.m. OK GNU C++14 TESTS 40 155 0 1800
61219929 ddxm C Sept. 24, 2019, 1:41 p.m. OK GNU C++14 TESTS 40 155 0 1800
59976795 saikat_7 C Sept. 4, 2019, 6:19 a.m. OK GNU C++14 TESTS 40 155 0 1800
59948152 vjudge2 C Sept. 3, 2019, 1:38 p.m. OK GNU C++14 TESTS 40 155 0 1800
59800562 VLADO C Aug. 31, 2019, 10:05 a.m. OK GNU C++14 TESTS 40 155 0 1800
59674420 arafat_uu C Aug. 29, 2019, 5:29 p.m. OK GNU C++14 TESTS 40 155 0 1800
59610610 rohitrajofchs C Aug. 28, 2019, 10:47 a.m. OK GNU C++14 TESTS 40 155 0 1800
59673911 lesskreker C Aug. 29, 2019, 5:17 p.m. OK GNU C++17 TESTS 40 62 0 1800
59485908 neal C Aug. 25, 2019, 5:41 p.m. OK GNU C++17 TESTS 40 77 4096000 1800
59479131 peterr C Aug. 25, 2019, 4:15 p.m. OK GNU C++17 TESTS 40 108 19353600 1800
59622082 Ciafrino C Aug. 28, 2019, 2:32 p.m. OK GNU C++17 TESTS 40 140 0 1800
59944711 ganixdd C Sept. 3, 2019, 12:37 p.m. OK GNU C++17 TESTS 40 140 3993600 1800
59519283 elyutin159164 C Aug. 26, 2019, 11:16 a.m. OK GNU C++17 TESTS 40 140 4300800 1800
59483480 Ayu77 C Aug. 25, 2019, 4:36 p.m. OK GNU C++17 TESTS 40 140 8089600 1800
59496379 The_Unlucky_Guy C Aug. 25, 2019, 10:38 p.m. OK GNU C++17 TESTS 40 140 16076800 1800
60531349 Grzez C Sept. 14, 2019, 12:36 p.m. OK GNU C++17 TESTS 40 155 0 1800
65516360 jasonleft C Nov. 22, 2019, 6:15 a.m. OK GNU C++17 TESTS 40 155 0 1800
60411470 ralekseenkov C Sept. 11, 2019, 10:02 p.m. OK Go TESTS 40 109 5427200 1800
62073218 sighduck C Oct. 7, 2019, 5:22 p.m. OK Go TESTS 40 186 4608000 1800
59505691 Black_Fregat C Aug. 26, 2019, 5:58 a.m. OK Haskell TESTS 40 248 102400 1800
59667256 hchauhan7816 C Aug. 29, 2019, 2:38 p.m. OK Java 8 TESTS 40 186 43417600 1800
60192900 SevenDeadlySins C Sept. 6, 2019, 10:47 p.m. OK Java 8 TESTS 40 187 0 1800
59692089 karamkontar C Aug. 30, 2019, 6:40 a.m. OK Java 8 TESTS 40 187 43417600 1800
59479667 raxu C Aug. 25, 2019, 4:19 p.m. OK Java 8 TESTS 40 202 0 1800
59480569 saurabhs1206 C Aug. 25, 2019, 4:23 p.m. OK Java 8 TESTS 40 202 42905600 1800
59486845 beginner1010 C Aug. 25, 2019, 5:51 p.m. OK Java 8 TESTS 40 218 0 1800
59502424 gantushig21 C Aug. 26, 2019, 3:47 a.m. OK Java 8 TESTS 40 218 0 1800
59495203 Psp_98 C Aug. 25, 2019, 9:36 p.m. OK Java 8 TESTS 40 218 0 1800
59489710 Ziklon C Aug. 25, 2019, 6:47 p.m. OK Java 8 TESTS 40 218 0 1800
59480047 brainfxxk C Aug. 25, 2019, 4:21 p.m. OK Java 8 TESTS 40 218 0 1800
59704487 derive_cz C Aug. 30, 2019, 12:05 p.m. OK Kotlin TESTS 40 186 0 1800
59704427 derive_cz C Aug. 30, 2019, 12:04 p.m. OK Kotlin TESTS 40 187 39424000 1800
59617975 Benq C Aug. 28, 2019, 1:21 p.m. OK Kotlin TESTS 40 202 0 1800
60251768 dyukha C Sept. 8, 2019, 7:12 a.m. OK Kotlin TESTS 40 249 921600 1800
59573306 SlavaG C Aug. 27, 2019, 1:19 p.m. OK Kotlin TESTS 40 296 48435200 1800
59502495 Spheniscine C Aug. 26, 2019, 3:50 a.m. OK Kotlin TESTS 40 311 47411200 1800
59573395 SlavaG C Aug. 27, 2019, 1:20 p.m. OK Kotlin TESTS 40 311 48332800 1800
59508285 og.kostya C Aug. 26, 2019, 7:01 a.m. OK Mono C# TESTS 40 171 7065600 1800
59479427 Yupiteru C Aug. 25, 2019, 4:17 p.m. OK Mono C# TESTS 40 202 147865600 1800
59485896 sergmel C Aug. 25, 2019, 5:41 p.m. OK Mono C# TESTS 40 264 39936000 1800
60510398 vjudge1 C Sept. 14, 2019, 2:25 a.m. OK MS C++ TESTS 40 202 0 1800
65133792 vjudge3 C Nov. 16, 2019, 5:07 a.m. OK MS C++ TESTS 40 218 9011200 1800
59569895 vjudge1 C Aug. 27, 2019, 12:11 p.m. OK MS C++ TESTS 40 233 4096000 1800
60468610 math957963 C Sept. 13, 2019, 3:50 a.m. OK MS C++ TESTS 40 233 4198400 1800
64783782 vjudge3 C Nov. 13, 2019, 8:21 a.m. OK MS C++ TESTS 40 482 4096000 1800
59939683 vjudge1 C Sept. 3, 2019, 10:58 a.m. OK MS C++ TESTS 40 498 0 1800
59526467 vjudge5 C Aug. 26, 2019, 1:33 p.m. OK MS C++ TESTS 40 498 8089600 1800
59568752 vjudge5 C Aug. 27, 2019, 11:45 a.m. OK MS C++ TESTS 40 499 0 1800
59480451 grey C Aug. 25, 2019, 4:23 p.m. OK MS C++ TESTS 40 514 8601600 1800
64610793 vjudge4 C Nov. 10, 2019, 1:20 a.m. OK MS C++ 2017 TESTS 40 233 307200 1800
59685285 guoriyue C Aug. 30, 2019, 12:46 a.m. OK MS C++ 2017 TESTS 40 233 4096000 1800
60429132 pmitkov C Sept. 12, 2019, 8:52 a.m. OK MS C++ 2017 TESTS 40 233 4096000 1800
59479851 Vetriti C Aug. 25, 2019, 4:20 p.m. OK MS C++ 2017 TESTS 40 233 12083200 1800
60465322 cckk4467 C Sept. 13, 2019, 12:50 a.m. OK MS C++ 2017 TESTS 40 233 17203200 1800
59685272 guoriyue C Aug. 30, 2019, 12:45 a.m. OK MS C++ 2017 TESTS 40 234 4096000 1800
61971004 vjudge4 C Oct. 6, 2019, 9:05 a.m. OK MS C++ 2017 TESTS 40 249 4096000 1800
59502491 zekunup C Aug. 26, 2019, 3:50 a.m. OK MS C++ 2017 TESTS 40 545 0 1800
59697123 lemon2 C Aug. 30, 2019, 9:02 a.m. OK MS C++ 2017 TESTS 40 546 4096000 1800
59571724 vjudge1 C Aug. 27, 2019, 12:49 p.m. OK MS C++ 2017 TESTS 40 560 3993600 1800
59486883 rsFalse C Aug. 25, 2019, 5:52 p.m. OK Perl TESTS 40 514 85811200 1800
59500899 alexwice C Aug. 26, 2019, 2:43 a.m. OK PyPy 2 TESTS 40 202 5529600 1800
59491792 -Morass- C Aug. 25, 2019, 7:38 p.m. OK PyPy 2 TESTS 40 202 6963200 1800
59493082 raj1307 C Aug. 25, 2019, 8:16 p.m. OK PyPy 2 TESTS 40 217 17612800 1800
59480636 TheManTheMythTheLegend C Aug. 25, 2019, 4:24 p.m. OK PyPy 2 TESTS 40 233 20992000 1800
59485815 shehebe C Aug. 25, 2019, 5:40 p.m. OK PyPy 2 TESTS 40 280 21094400 1800
69347826 YESMAths C Jan. 22, 2020, 3:48 p.m. OK PyPy 2 TESTS 40 358 67481600 1800
69346315 vjudge2 C Jan. 22, 2020, 3:44 p.m. OK PyPy 2 TESTS 40 358 67584000 1800
59827957 yumtam C Aug. 31, 2019, 8:33 p.m. OK PyPy 2 TESTS 40 373 15872000 1800
59538527 snape_here C Aug. 26, 2019, 5:54 p.m. OK PyPy 2 TESTS 40 421 16384000 1800
59488049 petya47 C Aug. 25, 2019, 6:11 p.m. OK PyPy 3 TESTS 40 560 11673600 1800
59480117 linwe C Aug. 25, 2019, 4:21 p.m. OK PyPy 3 TESTS 40 560 40960000 1800
59510188 ankit_31122019 C Aug. 26, 2019, 7:41 a.m. OK PyPy 3 TESTS 40 561 9625600 1800
59681746 scheduler C Aug. 29, 2019, 9:09 p.m. OK PyPy 3 TESTS 40 561 10752000 1800
59580594 Felerius C Aug. 27, 2019, 3:53 p.m. OK PyPy 3 TESTS 40 576 10956800 1800
59710256 akumikhai C Aug. 30, 2019, 2:22 p.m. OK PyPy 3 TESTS 40 577 11059200 1800
59652002 Vosatorp C Aug. 29, 2019, 8:40 a.m. OK PyPy 3 TESTS 40 592 46080000 1800
61980247 songzy12 C Oct. 6, 2019, 11:46 a.m. OK PyPy 3 TESTS 40 608 11878400 1800
60953050 tsmirnov C Sept. 20, 2019, 11:47 p.m. OK PyPy 3 TESTS 40 623 11366400 1800
60184101 yfo C Sept. 6, 2019, 5:38 p.m. OK PyPy 3 TESTS 40 639 12288000 1800
60429600 vjudge5 C Sept. 12, 2019, 8:59 a.m. OK Python 2 TESTS 40 686 39116800 1800
59530981 kaif_7 C Aug. 26, 2019, 3:02 p.m. OK Python 2 TESTS 40 826 17920000 1800
60233566 AlxShark C Sept. 7, 2019, 5:19 p.m. OK Python 3 TESTS 40 436 204800 1800
60413595 hsgser C Sept. 12, 2019, 12:13 a.m. OK Python 3 TESTS 40 685 307200 1800
60439380 lannistereohan C Sept. 12, 2019, 11:54 a.m. OK Python 3 TESTS 40 686 307200 1800
60227231 ulyss C Sept. 7, 2019, 3:26 p.m. OK Python 3 TESTS 40 701 28364800 1800
59707513 akumikhai C Aug. 30, 2019, 1:17 p.m. OK Python 3 TESTS 40 701 28569600 1800
61310029 NocturneBflat C Sept. 26, 2019, 8:54 a.m. OK Python 3 TESTS 40 701 36761600 1800
59595315 nagato1208 C Aug. 28, 2019, 1:02 a.m. OK Python 3 TESTS 40 764 28569600 1800
59540351 LintuStorm C Aug. 26, 2019, 6:38 p.m. OK Python 3 TESTS 40 779 102400 1800
59989588 Fedos_progaet C Sept. 4, 2019, 9:29 a.m. OK Python 3 TESTS 40 826 102400 1800
59484285 crypticcoder C Aug. 25, 2019, 4:39 p.m. OK Python 3 TESTS 40 982 52736000 1800
59490411 sansen C Aug. 25, 2019, 7:04 p.m. OK Rust TESTS 40 109 5427200 1800
59479822 yakamoto C Aug. 25, 2019, 4:20 p.m. OK Scala TESTS 40 607 3993600 1800

remove filters

Back to search problems