Intel Code Challenge Final Round (Div. 1 + Div. 2, Combined)

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
724 Intel Code Challenge Final Round (Div. 1 + Div. 2, Combined) FINISHED False 10800 261251063 Oct. 8, 2016, 12:15 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 4025 ) B Batch Sort PROGRAMMING brute force greedy implementation math 1500

B'You are given a table consisting of n rows and m columns. Numbers in each row form a permutation of integers from 1 to m. You are allowed to pick two elements in one row and swap them, but no more than once for each row. Also, no more than once you are allowed to pick two columns and swap them. Thus, you are allowed to perform from 0 to n xe2 x80 x89+ xe2 x80 x891 actions in total. Operations can be performed in any order. You have to check whether it 's possible to obtain the identity permutation 1, xe2 x80 x892, xe2 x80 x89..., xe2 x80 x89m in each row. In other words, check if one can perform some of the operation following the given rules and make each row sorted in increasing order. The first line of the input contains two integers n and m (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8920) -- the number of rows and the number of columns in the given table. Each of next n lines contains m integers -- elements of the table. It 's guaranteed that numbers in each line form a permutation of integers from 1 to m. If there is a way to obtain the identity permutation in each row by following the given rules, print "YES" (without quotes) in the only line of the output. Otherwise, print "NO" (without quotes). In the first sample, one can act in the following way: '...

Tutorials

Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
21297029 SirNickolas B Oct. 8, 2016, 3:07 p.m. OK D TESTS 86 31 3072000 1500
21331628 upfeed B Oct. 10, 2016, 6:57 a.m. OK Delphi TESTS 86 31 2560000 1500
21298598 tsminh_3 B Oct. 8, 2016, 3:41 p.m. OK FPC TESTS 86 15 1638400 1500
21287915 njsfdxfszx59 B Oct. 8, 2016, 1:18 p.m. OK FPC TESTS 86 15 1638400 1500
21319442 harleluyar B Oct. 9, 2016, 1:23 p.m. OK FPC TESTS 86 15 1638400 1500
21284045 dujunyi B Oct. 8, 2016, 12:40 p.m. OK FPC TESTS 86 15 1638400 1500
21286089 Zeron B Oct. 8, 2016, 12:58 p.m. OK FPC TESTS 86 15 1638400 1500
21314268 tpc2102 B Oct. 9, 2016, 9:27 a.m. OK FPC TESTS 86 15 1740800 1500
21282767 GiannisAntetokounmpo B Oct. 8, 2016, 12:33 p.m. OK FPC TESTS 86 15 3788800 1500
21283023 MintGreen B Oct. 8, 2016, 12:34 p.m. OK FPC TESTS 86 30 1638400 1500
21284193 heklo B Oct. 8, 2016, 12:41 p.m. OK FPC TESTS 86 30 1740800 1500
52299790 jamienguyen B April 4, 2019, 8:23 a.m. OK FPC TESTS 86 31 0 1500
27071296 vjudge3 B May 13, 2017, 8:17 a.m. OK GNU C TESTS 86 15 0 1500
21314055 849145427 B Oct. 9, 2016, 9:15 a.m. OK GNU C TESTS 86 15 1843200 1500
21311085 double301 B Oct. 9, 2016, 6:38 a.m. OK GNU C TESTS 86 15 2867200 1500
21623973 Summo B Oct. 20, 2016, 5:11 p.m. OK GNU C TESTS 86 30 0 1500
21319030 gotofish B Oct. 9, 2016, 1:05 p.m. OK GNU C TESTS 86 30 1843200 1500
21407289 vishusachdeva B Oct. 13, 2016, 4:04 p.m. OK GNU C TESTS 86 30 1945600 1500
21746857 npugenji B Oct. 24, 2016, 2:33 p.m. OK GNU C TESTS 86 31 0 1500
21284739 awsn B Oct. 8, 2016, 12:45 p.m. OK GNU C TESTS 86 31 1843200 1500
21411649 rainboy B Oct. 13, 2016, 7:53 p.m. OK GNU C TESTS 86 31 1843200 1500
27830738 raptor09 B June 16, 2017, 5:49 p.m. OK GNU C++ TESTS 86 15 0 1500
27475268 rvinicius B May 31, 2017, 11:08 p.m. OK GNU C++ TESTS 86 15 0 1500
29556019 Ahmed_Morsy B Aug. 18, 2017, 2:57 p.m. OK GNU C++ TESTS 86 15 0 1500
27069128 vjudge5 B May 13, 2017, 5:58 a.m. OK GNU C++ TESTS 86 15 0 1500
27068164 Z1154990071 B May 13, 2017, 4:22 a.m. OK GNU C++ TESTS 86 15 0 1500
27067602 nsu15310920225 B May 13, 2017, 3:11 a.m. OK GNU C++ TESTS 86 15 0 1500
22918754 phidang B Dec. 13, 2016, 3:16 a.m. OK GNU C++ TESTS 86 15 0 1500
22871572 r_sazid77 B Dec. 11, 2016, 7:02 a.m. OK GNU C++ TESTS 86 15 0 1500
22825187 Gnouc B Dec. 9, 2016, 3:51 a.m. OK GNU C++ TESTS 86 15 0 1500
22702274 fabianalonso333 B Dec. 4, 2016, 7:19 p.m. OK GNU C++ TESTS 86 15 0 1500
34334178 vjudge2 B Jan. 20, 2018, 1:16 a.m. OK GNU C11 TESTS 86 15 1843200 1500
21288042 grk62 B Oct. 8, 2016, 1:19 p.m. OK GNU C11 TESTS 86 15 1843200 1500
21396430 SoundsOfLife B Oct. 13, 2016, 5:57 a.m. OK GNU C11 TESTS 86 15 1945600 1500
21456984 sianzhan B Oct. 15, 2016, 12:22 p.m. OK GNU C11 TESTS 86 15 2048000 1500
68645213 vjudge1 B Jan. 12, 2020, 8:50 a.m. OK GNU C11 TESTS 86 31 0 1500
69707085 vjudge4 B Jan. 29, 2020, 5:14 a.m. OK GNU C11 TESTS 86 31 0 1500
68640735 vjudge2 B Jan. 12, 2020, 7:26 a.m. OK GNU C11 TESTS 86 31 0 1500
24711845 ruomenger B Feb. 16, 2017, 7:15 a.m. OK GNU C11 TESTS 86 31 1945600 1500
24705318 Prajwal B Feb. 15, 2017, 8:51 p.m. OK GNU C11 TESTS 86 31 1945600 1500
24711888 vjudge4 B Feb. 16, 2017, 7:18 a.m. OK GNU C11 TESTS 86 31 1945600 1500
27057758 lmn0x4F B May 12, 2017, 3:41 p.m. OK GNU C++11 TESTS 86 15 0 1500
31928411 samyak.j muditsurana Him98 B Oct. 31, 2017, 5:08 p.m. OK GNU C++11 TESTS 86 15 0 1500
30215293 eggeek B Sept. 9, 2017, 1:26 a.m. OK GNU C++11 TESTS 86 15 0 1500
27884171 div24ever B June 18, 2017, 12:09 p.m. OK GNU C++11 TESTS 86 15 0 1500
27879110 Bengal_Tiger B June 18, 2017, 7:34 a.m. OK GNU C++11 TESTS 86 15 0 1500
27527154 its_like_never_before B June 2, 2017, 3:41 p.m. OK GNU C++11 TESTS 86 15 0 1500
27266766 Albus_Sirius B May 21, 2017, 12:22 p.m. OK GNU C++11 TESTS 86 15 0 1500
23081430 shruti_gupta B Dec. 18, 2016, 10:07 a.m. OK GNU C++11 TESTS 86 15 0 1500
23001602 rp74 B Dec. 15, 2016, 9:07 a.m. OK GNU C++11 TESTS 86 15 0 1500
22997128 Cherries B Dec. 15, 2016, 4:38 a.m. OK GNU C++11 TESTS 86 15 0 1500
22923229 aadishj02 B Dec. 13, 2016, 9:28 a.m. OK GNU C++14 TESTS 86 15 0 1500
31697819 Ntruong B Oct. 25, 2017, 3:27 a.m. OK GNU C++14 TESTS 86 15 0 1500
31242078 Momentum B Oct. 12, 2017, 1:27 p.m. OK GNU C++14 TESTS 86 15 0 1500
30945807 nikhil_123 B Oct. 2, 2017, 2:42 p.m. OK GNU C++14 TESTS 86 15 0 1500
30930456 hongjun-7 B Oct. 1, 2017, 11:33 p.m. OK GNU C++14 TESTS 86 15 0 1500
30757401 _Samir B Sept. 26, 2017, 4:45 p.m. OK GNU C++14 TESTS 86 15 0 1500
30667087 int3xcc B Sept. 24, 2017, 1:36 p.m. OK GNU C++14 TESTS 86 15 0 1500
27661849 sp1cyChezz B June 8, 2017, 2:48 a.m. OK GNU C++14 TESTS 86 15 0 1500
27543886 Dalgerok B June 3, 2017, 12:27 p.m. OK GNU C++14 TESTS 86 15 0 1500
27058265 JoseAcv2 B May 12, 2017, 4:08 p.m. OK GNU C++14 TESTS 86 15 0 1500
38682747 yaren B May 28, 2018, 2:14 a.m. OK GNU C++17 TESTS 86 30 0 1500
48928401 vjudge1 B Jan. 25, 2019, 11:33 a.m. OK GNU C++17 TESTS 86 30 307200 1500
37338560 AmineBDH B April 14, 2018, 7:59 p.m. OK GNU C++17 TESTS 86 30 3481600 1500
37430004 Counting_Stars B April 18, 2018, 9:09 a.m. OK GNU C++17 TESTS 86 30 3686400 1500
68194870 nowyyz B Jan. 4, 2020, 2:15 p.m. OK GNU C++17 TESTS 86 31 0 1500
68650383 vjudge1 B Jan. 12, 2020, 10:34 a.m. OK GNU C++17 TESTS 86 31 0 1500
69641632 joylintp B Jan. 27, 2020, 9:13 p.m. OK GNU C++17 TESTS 86 31 0 1500
65514313 Nazarbek. B Nov. 22, 2019, 6:04 a.m. OK GNU C++17 TESTS 86 31 0 1500
65702772 Karl_Adamas B Nov. 25, 2019, 11:26 a.m. OK GNU C++17 TESTS 86 31 0 1500
67437146 You_Know_Who B Dec. 22, 2019, 5:39 p.m. OK GNU C++17 TESTS 86 31 0 1500
21331739 dblokhin B Oct. 10, 2016, 7:04 a.m. OK Go TESTS 86 31 4915200 1500
21331732 dblokhin B Oct. 10, 2016, 7:04 a.m. OK Go TESTS 86 31 4915200 1500
21299632 orb B Oct. 8, 2016, 4:04 p.m. OK Go TESTS 86 31 4915200 1500
23719631 goC B Jan. 11, 2017, 1:54 p.m. OK Go TESTS 86 31 23040000 1500
21443294 CyberZHG B Oct. 15, 2016, 9:13 a.m. OK Haskell TESTS 86 31 44851200 1500
22615812 hama-du B Nov. 30, 2016, 7:14 a.m. OK Java 8 TESTS 86 109 0 1500
25870671 OmarRadwan B March 28, 2017, 10:31 a.m. OK Java 8 TESTS 86 109 20275200 1500
27689069 lm010 B June 9, 2017, 12:37 p.m. OK Java 8 TESTS 86 124 0 1500
22103739 vvenkai B Nov. 8, 2016, 12:58 a.m. OK Java 8 TESTS 86 124 0 1500
21654536 cynical B Oct. 21, 2016, 11:24 p.m. OK Java 8 TESTS 86 124 0 1500
22072019 Abkreno94 B Nov. 6, 2016, 9:47 a.m. OK Java 8 TESTS 86 124 0 1500
54789316 lebaur B May 29, 2019, 6:16 a.m. OK Java 8 TESTS 86 124 0 1500
27832369 Mihir_Gajera1 B June 16, 2017, 7:41 p.m. OK Java 8 TESTS 86 124 0 1500
21285777 Ahmed.Youssry B Oct. 8, 2016, 12:55 p.m. OK Java 8 TESTS 86 124 20275200 1500
21516723 love11mishra B Oct. 17, 2016, 10:50 a.m. OK Java 8 TESTS 86 124 20480000 1500
21301537 Romchik B Oct. 8, 2016, 5:02 p.m. OK JavaScript TESTS 86 46 7270400 1500
21285340 dyukha B Oct. 8, 2016, 12:51 p.m. OK Kotlin TESTS 86 186 22118400 1500
21305228 hotkey B Oct. 8, 2016, 8:31 p.m. OK Kotlin TESTS 86 187 22630400 1500
21284627 n3o59hf B Oct. 8, 2016, 12:45 p.m. OK Kotlin TESTS 86 248 22630400 1500
21288977 pomjuice B Oct. 8, 2016, 1:29 p.m. OK Mono C# TESTS 86 93 11366400 1500
21297246 kuuso B Oct. 8, 2016, 3:09 p.m. OK Mono C# TESTS 86 139 9728000 1500
22275678 og.kostya B Nov. 16, 2016, 6:53 p.m. OK MS C# TESTS 86 61 307200 1500
22895301 m1_k3 B Dec. 11, 2016, 10:38 p.m. OK MS C# TESTS 86 62 102400 1500
21893163 mpfrolovstud B Oct. 30, 2016, 1:31 p.m. OK MS C# TESTS 86 62 102400 1500
21345542 AnatolyTolstobrov B Oct. 10, 2016, 7:22 p.m. OK MS C# TESTS 86 62 9011200 1500
21286683 mircea85 B Oct. 8, 2016, 1:04 p.m. OK MS C# TESTS 86 62 9113600 1500
21287052 afterzvn B Oct. 8, 2016, 1:08 p.m. OK MS C# TESTS 86 77 9011200 1500
21389183 skelenton B Oct. 12, 2016, 6:07 p.m. OK MS C# TESTS 86 77 9011200 1500
21299073 mdarefull B Oct. 8, 2016, 3:50 p.m. OK MS C# TESTS 86 77 9011200 1500
21296410 davidsekar B Oct. 8, 2016, 2:59 p.m. OK MS C# TESTS 86 77 9420800 1500
21283570 dinarisio B Oct. 8, 2016, 12:37 p.m. OK MS C# TESTS 86 77 11468800 1500
31231073 Volpe B Oct. 12, 2017, 2:48 a.m. OK MS C++ TESTS 86 15 204800 1500
34335647 vjudge3 B Jan. 20, 2018, 2:32 a.m. OK MS C++ TESTS 86 15 2048000 1500
25499732 vjudge2 B March 15, 2017, 1:45 p.m. OK MS C++ TESTS 86 15 2048000 1500
21506824 jsparrow.jsparrow B Oct. 16, 2016, 8:46 p.m. OK MS C++ TESTS 86 15 2048000 1500
21406469 KozS B Oct. 13, 2016, 3:23 p.m. OK MS C++ TESTS 86 15 2048000 1500
21391119 alfadel B Oct. 12, 2016, 7:56 p.m. OK MS C++ TESTS 86 15 2048000 1500
21387838 Svenny B Oct. 12, 2016, 5:08 p.m. OK MS C++ TESTS 86 15 2048000 1500
21382646 khasanovaa B Oct. 12, 2016, 1:29 p.m. OK MS C++ TESTS 86 15 2048000 1500
34436500 vjudge3 B Jan. 22, 2018, 7:25 a.m. OK MS C++ TESTS 86 15 2048000 1500
34546226 vjudge2 B Jan. 25, 2018, 12:49 p.m. OK MS C++ TESTS 86 15 2048000 1500
48952743 eyesofgod123 B Jan. 26, 2019, 1:39 a.m. OK MS C++ 2017 TESTS 86 31 0 1500
68641920 vjudge2 B Jan. 12, 2020, 7:47 a.m. OK MS C++ 2017 TESTS 86 31 0 1500
21302634 mayakin B Oct. 8, 2016, 5:59 p.m. OK PHP TESTS 86 46 4710400 1500
21293869 demetoir B Oct. 8, 2016, 2:28 p.m. OK PyPy 2 TESTS 86 124 22732800 1500
21298282 lollollol B Oct. 8, 2016, 3:34 p.m. OK PyPy 2 TESTS 86 171 24883200 1500
21286850 har_vi B Oct. 8, 2016, 1:06 p.m. OK PyPy 2 TESTS 86 233 29696000 1500
21299551 cugel B Oct. 8, 2016, 4:01 p.m. OK PyPy 3 TESTS 86 124 23142400 1500
51439191 elsa_math B March 18, 2019, 8:47 a.m. OK PyPy 3 TESTS 86 155 0 1500
63931225 UTMoonlight B Oct. 31, 2019, 2:21 p.m. OK PyPy 3 TESTS 86 155 2662400 1500
21300299 Vosatorp B Oct. 8, 2016, 4:26 p.m. OK PyPy 3 TESTS 86 218 27136000 1500
56866964 FlyingBag65 B July 12, 2019, 3:46 a.m. OK PyPy 3 TESTS 86 233 4198400 1500
21298293 lollollol B Oct. 8, 2016, 3:34 p.m. OK PyPy 3 TESTS 86 327 29184000 1500
21883638 Skand B Oct. 29, 2016, 10:03 p.m. OK Python 2 TESTS 86 62 0 1500
21883246 Skand B Oct. 29, 2016, 9:19 p.m. OK Python 2 TESTS 86 62 0 1500
21310847 muravjov B Oct. 9, 2016, 6:28 a.m. OK Python 2 TESTS 86 62 4608000 1500
21285416 m7mdbadawy B Oct. 8, 2016, 12:51 p.m. OK Python 2 TESTS 86 62 4608000 1500
21363190 unlucky_13 B Oct. 11, 2016, 4:01 p.m. OK Python 2 TESTS 86 77 4608000 1500
21348429 dahem B Oct. 10, 2016, 11:33 p.m. OK Python 2 TESTS 86 77 4608000 1500
21311356 muravjov B Oct. 9, 2016, 6:52 a.m. OK Python 2 TESTS 86 77 4608000 1500
21284977 osev B Oct. 8, 2016, 12:47 p.m. OK Python 2 TESTS 86 77 4608000 1500
21284749 Mars314 B Oct. 8, 2016, 12:46 p.m. OK Python 2 TESTS 86 77 4608000 1500
21546000 botay_ksnb B Oct. 17, 2016, 5:10 p.m. OK Python 2 TESTS 86 77 5017600 1500
30849499 Qumeric B Sept. 29, 2017, 10:47 p.m. OK Python 3 TESTS 86 62 0 1500
21341850 muravjov B Oct. 10, 2016, 4:02 p.m. OK Python 3 TESTS 86 62 4608000 1500
21319748 Remarque B Oct. 9, 2016, 1:38 p.m. OK Python 3 TESTS 86 62 4608000 1500
21282972 sparkyyyy B Oct. 8, 2016, 12:34 p.m. OK Python 3 TESTS 86 62 4608000 1500
21304471 czommerfelds B Oct. 8, 2016, 7:36 p.m. OK Python 3 TESTS 86 62 4915200 1500
21296483 sanchopanca B Oct. 8, 2016, 3 p.m. OK Python 3 TESTS 86 62 4915200 1500
21287978 YtkaBTapkax B Oct. 8, 2016, 1:18 p.m. OK Python 3 TESTS 86 62 4915200 1500
21286305 Wmson B Oct. 8, 2016, 1 p.m. OK Python 3 TESTS 86 62 4915200 1500
22247776 elayla B Nov. 15, 2016, 6:28 p.m. OK Python 3 TESTS 86 77 0 1500
22210486 ResQ B Nov. 14, 2016, 4:14 p.m. OK Python 3 TESTS 86 77 0 1500
24816371 mio_h B Feb. 20, 2017, 6:48 a.m. OK Rust TESTS 86 31 18432000 1500
21284684 wrick B Oct. 8, 2016, 12:45 p.m. OK Scala TESTS 86 327 39936000 1500
21550636 limed B Oct. 17, 2016, 7:52 p.m. OK Scala TESTS 86 389 39936000 1500
21291913 Andrew.Tweddle B Oct. 8, 2016, 2:04 p.m. OK Scala TESTS 86 920 39936000 1500

remove filters

Back to search problems