Codeforces Beta Round 92 (Div. 2 Only)

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
124 Codeforces Beta Round 92 (Div. 2 Only) FINISHED False 7200 416846963 Nov. 3, 2011, 3:10 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 4044 ) B Permutations PROGRAMMING brute force combinatorics implementation 1400

B'You are given n k-digit integers. You have to rearrange the digits in the integers so that the difference between the largest and the smallest number was minimum. Digits should be rearranged by the same rule in all integers. The first line contains integers n and k -- the number and digit capacity of numbers correspondingly (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89k xe2 x80 x89 xe2 x89 xa4 xe2 x80 x898). Next n lines contain k-digit positive integers. Leading zeroes are allowed both in the initial integers and the integers resulting from the rearranging of digits. Print a single number: the minimally possible difference between the largest and the smallest number after the digits are rearranged in all integers by the same rule. In the first sample, if we rearrange the digits in numbers as (3,1,4,2), then the 2-nd and the 4-th numbers will equal 5237 and 2537 correspondingly (they will be maximum and minimum for such order of digits). In the second sample, if we swap the second digits and the first ones, we get integers 100, 99 and 102.'...

Tutorials

Codeforces Beta Round #92 - Analysis

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
58267096 hatsuyuki15 B Aug. 4, 2019, 3:03 p.m. OK D TESTS 128 310 0 1400
829500 Affina B Nov. 3, 2011, 3:50 p.m. OK Delphi TESTS 128 30 819200 1400
1353315 Ramp B March 12, 2012, 8:25 p.m. OK Delphi TESTS 128 30 921600 1400
836449 WladFed B Nov. 3, 2011, 3:47 p.m. OK Delphi TESTS 128 30 921600 1400
830808 demOcrat B Nov. 3, 2011, 4:26 p.m. OK Delphi TESTS 128 30 921600 1400
2470139 Misha100896 B Oct. 30, 2012, 10:55 a.m. OK Delphi TESTS 128 46 102400 1400
2235409 Mosyagin B Sept. 23, 2012, 5:05 p.m. OK Delphi TESTS 128 46 102400 1400
828910 Toshik B Nov. 3, 2011, 3:39 p.m. OK Delphi TESTS 128 50 819200 1400
829778 goalkick B Nov. 3, 2011, 3:57 p.m. OK Delphi TESTS 128 50 921600 1400
829674 Battle_Mage B Nov. 3, 2011, 3:54 p.m. OK Delphi TESTS 128 50 921600 1400
829170 eldar B Nov. 3, 2011, 3:43 p.m. OK Delphi TESTS 128 50 921600 1400
4071294 Omelianenko B July 14, 2013, 9:25 p.m. OK FPC TESTS 128 15 0 1400
3669823 Omelianenko B May 4, 2013, 4:48 p.m. OK FPC TESTS 128 15 0 1400
833887 Petrushenko B Nov. 4, 2011, 7:26 a.m. OK FPC TESTS 128 30 1024000 1400
833195 mxalbert1996 B Nov. 4, 2011, 12:13 a.m. OK FPC TESTS 128 30 1024000 1400
829283 taophee B Nov. 3, 2011, 3:45 p.m. OK FPC TESTS 128 30 1024000 1400
828340 ConLonCon B Nov. 3, 2011, 3:30 p.m. OK FPC TESTS 128 30 1024000 1400
3811195 SoulSilver B June 1, 2013, 11:38 a.m. OK FPC TESTS 128 31 0 1400
1073481 vav_brs B Jan. 17, 2012, 11:41 a.m. OK FPC TESTS 128 50 1024000 1400
972681 skywalker_z B Dec. 23, 2011, 7:18 a.m. OK FPC TESTS 128 50 1024000 1400
836846 Stalker B Nov. 5, 2011, 5:01 p.m. OK FPC TESTS 128 50 1024000 1400
830124 spidercpsf B Nov. 3, 2011, 4:05 p.m. OK GNU C TESTS 128 30 1331200 1400
831845 zero_051 B Nov. 3, 2011, 5:03 p.m. OK GNU C TESTS 128 30 1331200 1400
829134 lucastdcj B Nov. 3, 2011, 3:42 p.m. OK GNU C TESTS 128 30 1433600 1400
2584410 cpy B Nov. 18, 2012, 10:11 a.m. OK GNU C TESTS 128 46 0 1400
1029134 Sender B Jan. 11, 2012, 8:09 a.m. OK GNU C TESTS 128 50 1331200 1400
842713 flyers B Nov. 9, 2011, 6:56 a.m. OK GNU C TESTS 128 50 1331200 1400
842655 flyers B Nov. 9, 2011, 6:15 a.m. OK GNU C TESTS 128 50 1331200 1400
830348 nobita_isc B Nov. 3, 2011, 4:12 p.m. OK GNU C TESTS 128 50 1331200 1400
830188 nguyengia B Nov. 3, 2011, 4:06 p.m. OK GNU C TESTS 128 50 1331200 1400
1767670 touhou B June 6, 2012, 1:35 p.m. OK GNU C TESTS 128 50 1433600 1400
4137917 bjtuacm B July 23, 2013, 1:09 a.m. OK GNU C++ TESTS 128 15 0 1400
4135781 shiyuankongbu B July 22, 2013, 1:15 p.m. OK GNU C++ TESTS 128 15 0 1400
4096528 akhtyamovpavel B July 18, 2013, 5:31 a.m. OK GNU C++ TESTS 128 15 0 1400
4088318 doptster B July 17, 2013, 3:49 p.m. OK GNU C++ TESTS 128 15 0 1400
4050683 vjudge5 B July 11, 2013, 12:34 p.m. OK GNU C++ TESTS 128 15 0 1400
4047025 free999 B July 10, 2013, 2:36 p.m. OK GNU C++ TESTS 128 15 0 1400
3969280 pankajb23 B June 28, 2013, 12:36 a.m. OK GNU C++ TESTS 128 15 0 1400
3931704 Ronnie007 B June 21, 2013, 10:49 a.m. OK GNU C++ TESTS 128 15 0 1400
3853253 GaryWong B June 10, 2013, 8:54 a.m. OK GNU C++ TESTS 128 15 0 1400
3766961 dima_gozha B May 24, 2013, 7:20 p.m. OK GNU C++ TESTS 128 15 0 1400
6257753 sunny_girl B April 4, 2014, 12:43 p.m. OK GNU C++0x TESTS 128 30 0 1400
4535834 A_Le_K B Sept. 22, 2013, 9:51 a.m. OK GNU C++0x TESTS 128 30 0 1400
8753628 hakobyan.tigran B Nov. 19, 2014, 8:48 a.m. OK GNU C++0x TESTS 128 30 102400 1400
863507 watashi B Nov. 14, 2011, 3:13 p.m. OK GNU C++0x TESTS 128 30 1331200 1400
987355 Archon.JK B Dec. 26, 2011, 4:54 p.m. OK GNU C++0x TESTS 128 30 1331200 1400
862741 PattS B Nov. 14, 2011, 6:26 a.m. OK GNU C++0x TESTS 128 30 1331200 1400
839697 Shik B Nov. 7, 2011, 2:09 p.m. OK GNU C++0x TESTS 128 30 1331200 1400
1911213 unit7 B July 19, 2012, 10:10 a.m. OK GNU C++0x TESTS 128 30 1433600 1400
3666796 miyanaga.saki B May 4, 2013, 5:39 a.m. OK GNU C++0x TESTS 128 31 0 1400
4071328 yermak0v B July 14, 2013, 9:38 p.m. OK GNU C++0x TESTS 128 31 102400 1400
60583968 reyad B Sept. 14, 2019, 7:55 p.m. OK GNU C11 TESTS 128 62 0 1400
40890483 ruchitesh22 B July 28, 2018, 3:37 p.m. OK GNU C11 TESTS 128 62 0 1400
64553432 kaiboy B Nov. 9, 2019, 1:46 a.m. OK GNU C11 TESTS 128 92 0 1400
64547087 kaiboy B Nov. 8, 2019, 8:38 p.m. OK GNU C11 TESTS 128 92 0 1400
16726467 freebsdx B March 15, 2016, 11:50 a.m. OK GNU C++11 TESTS 128 30 0 1400
16604519 BaherZ B March 8, 2016, 4:08 p.m. OK GNU C++11 TESTS 128 30 0 1400
16388701 mahmud2690 B Feb. 27, 2016, 5:29 p.m. OK GNU C++11 TESTS 128 30 0 1400
16313802 HannaYz B Feb. 24, 2016, 5:34 p.m. OK GNU C++11 TESTS 128 30 0 1400
16284556 majd.gda1 B Feb. 22, 2016, 10:21 p.m. OK GNU C++11 TESTS 128 30 0 1400
16247760 terjanq B Feb. 20, 2016, 7:06 p.m. OK GNU C++11 TESTS 128 30 0 1400
22111073 Jason_Lee B Nov. 8, 2016, 11:32 a.m. OK GNU C++11 TESTS 128 30 0 1400
27777377 Dalgerok B June 14, 2017, 5:27 p.m. OK GNU C++11 TESTS 128 30 0 1400
30776852 DavidChan B Sept. 27, 2017, 12:38 p.m. OK GNU C++11 TESTS 128 30 0 1400
21848171 TISparta B Oct. 28, 2016, 1:35 p.m. OK GNU C++11 TESTS 128 30 0 1400
29602227 Heart_Blue B Aug. 19, 2017, 3:27 p.m. OK GNU C++14 TESTS 128 30 0 1400
27715092 3_Problems_Everyday B June 11, 2017, 5:02 a.m. OK GNU C++14 TESTS 128 30 0 1400
27454032 hacker348 B May 30, 2017, 6:49 p.m. OK GNU C++14 TESTS 128 30 0 1400
27293029 kensogo B May 23, 2017, 2:47 a.m. OK GNU C++14 TESTS 128 30 0 1400
32190106 Rtn_e B Nov. 10, 2017, 9:22 a.m. OK GNU C++14 TESTS 128 30 0 1400
32157760 vjudge3 B Nov. 9, 2017, 12:36 p.m. OK GNU C++14 TESTS 128 30 0 1400
32157740 NullByte B Nov. 9, 2017, 12:36 p.m. OK GNU C++14 TESTS 128 30 0 1400
30212881 alfadel B Sept. 8, 2017, 8:55 p.m. OK GNU C++14 TESTS 128 30 0 1400
35221753 JRCruz B Feb. 14, 2018, 2 a.m. OK GNU C++14 TESTS 128 30 1945600 1400
35191398 alwaysGREEEN B Feb. 13, 2018, 6:28 a.m. OK GNU C++14 TESTS 128 30 1945600 1400
68137934 malviyan_shiv B Jan. 3, 2020, 7:57 p.m. OK GNU C++17 TESTS 128 62 0 1400
68129391 hdsingh B Jan. 3, 2020, 4:26 p.m. OK GNU C++17 TESTS 128 62 0 1400
68056656 monk B Jan. 1, 2020, 11:33 p.m. OK GNU C++17 TESTS 128 62 0 1400
68031138 TissueRoll B Jan. 1, 2020, 9:22 a.m. OK GNU C++17 TESTS 128 62 0 1400
66047167 vjudge2 B Nov. 30, 2019, 3:36 p.m. OK GNU C++17 TESTS 128 62 0 1400
65592364 Anmol B Nov. 23, 2019, 2:35 p.m. OK GNU C++17 TESTS 128 62 0 1400
68206771 NumberFreak B Jan. 4, 2020, 5:40 p.m. OK GNU C++17 TESTS 128 62 0 1400
69043660 _icewiz_ B Jan. 18, 2020, 10:36 a.m. OK GNU C++17 TESTS 128 62 0 1400
69257075 thnkdiff B Jan. 21, 2020, 3:58 p.m. OK GNU C++17 TESTS 128 62 0 1400
69707228 manik_59 B Jan. 29, 2020, 5:19 a.m. OK GNU C++17 TESTS 128 62 0 1400
9674907 Eeyore B Feb. 2, 2015, 11:24 a.m. OK Go TESTS 128 62 0 1400
1113068 Rotsor B Jan. 23, 2012, 5:32 p.m. OK Haskell TESTS 128 130 3174400 1400
888997 yukim B Nov. 24, 2011, 10:02 a.m. OK Haskell TESTS 128 160 3174400 1400
2698535 DimsFromDergachy B Dec. 5, 2012, 10:08 p.m. OK Haskell TESTS 128 171 1024000 1400
829748 xenophobia B Nov. 3, 2011, 3:56 p.m. OK Haskell TESTS 128 480 8396800 1400
1158895 chenbinghui1 B Feb. 9, 2012, 6:57 a.m. OK Java 6 TESTS 128 80 43008000 1400
3040459 jchauhan B Jan. 31, 2013, 12:16 p.m. OK Java 6 TESTS 128 109 2457600 1400
2170260 otero1991 B Sept. 14, 2012, 8:39 p.m. OK Java 6 TESTS 128 109 43724800 1400
989841 lpeter B Dec. 28, 2011, 3:19 p.m. OK Java 6 TESTS 128 110 43110400 1400
827878 mdldml B Nov. 3, 2011, 3:25 p.m. OK Java 6 TESTS 128 130 43008000 1400
837078 kreep B Nov. 5, 2011, 8:08 p.m. OK Java 6 TESTS 128 130 43110400 1400
828735 mzhomart B Nov. 3, 2011, 3:36 p.m. OK Java 6 TESTS 128 130 43110400 1400
837241 nickbuelich B Nov. 5, 2011, 11:44 p.m. OK Java 6 TESTS 128 130 43110400 1400
828138 psucoder B Nov. 3, 2011, 3:28 p.m. OK Java 6 TESTS 128 130 43110400 1400
987564 ilovepink B Dec. 26, 2011, 8:01 p.m. OK Java 6 TESTS 128 130 43212800 1400
5621054 yarrr B Jan. 5, 2014, 9:34 a.m. OK Java 7 TESTS 128 124 0 1400
6399076 jcomputer000 B April 18, 2014, 5:10 a.m. OK Java 7 TESTS 128 156 0 1400
4082881 0p9o8i B July 16, 2013, 11:17 p.m. OK Java 7 TESTS 128 156 102400 1400
4082880 0p9o8i B July 16, 2013, 11:17 p.m. OK Java 7 TESTS 128 156 102400 1400
8754980 coolmaksat B Nov. 19, 2014, 12:03 p.m. OK Java 7 TESTS 128 186 0 1400
1668695 bidzilya B May 8, 2012, 4:45 a.m. OK Java 7 TESTS 128 190 44851200 1400
15078761 DukeOfYork B Dec. 29, 2015, 1:49 a.m. OK Java 7 TESTS 128 248 0 1400
14336016 mykobob B Nov. 19, 2015, 2:47 a.m. OK Java 7 TESTS 128 278 0 1400
8754985 I_love_Malika B Nov. 19, 2014, 12:03 p.m. OK Java 7 TESTS 128 278 307200 1400
6158283 danielfranco B March 27, 2014, 3:12 a.m. OK Java 7 TESTS 128 280 0 1400
19949088 Dukkha B Aug. 18, 2016, 3:55 p.m. OK Java 8 TESTS 128 218 20480000 1400
14337044 chaseterry B Nov. 19, 2015, 5:34 a.m. OK Java 8 TESTS 128 248 0 1400
65938862 akhilanandsamudrala B Nov. 29, 2019, 4:44 a.m. OK Java 8 TESTS 128 248 0 1400
62049756 sonusingh.nitaa B Oct. 7, 2019, 9:05 a.m. OK Java 8 TESTS 128 248 0 1400
60644683 ajkdrag B Sept. 15, 2019, 4:40 p.m. OK Java 8 TESTS 128 248 0 1400
55109049 chojh1222 B June 5, 2019, 5:10 a.m. OK Java 8 TESTS 128 248 0 1400
32237702 Omar_Morsi B Nov. 12, 2017, 8:06 a.m. OK Java 8 TESTS 128 248 0 1400
32096696 IntueorDaniel B Nov. 6, 2017, 1:19 p.m. OK Java 8 TESTS 128 248 0 1400
27836366 luisligunas B June 17, 2017, 2:29 a.m. OK Java 8 TESTS 128 248 0 1400
27167880 pitfall B May 16, 2017, 7:43 p.m. OK Java 8 TESTS 128 248 0 1400
829878 bitekas B Nov. 3, 2011, 3:59 p.m. OK Mono C# TESTS 128 280 11878400 1400
993428 Red-Green-Code B Dec. 31, 2011, 10:25 p.m. OK Mono C# TESTS 128 280 22323200 1400
16058959 og.kostya B Feb. 16, 2016, 4:18 p.m. OK MS C# TESTS 128 122 204800 1400
3879429 mhadih B June 13, 2013, 12:51 p.m. OK MS C++ TESTS 128 15 204800 1400
3657155 Elun B May 1, 2013, 10:27 a.m. OK MS C++ TESTS 128 15 1740800 1400
5641605 Miron95 B Jan. 9, 2014, 7:52 a.m. OK MS C++ TESTS 128 30 0 1400
4939717 Jicote B Oct. 30, 2013, 9:46 p.m. OK MS C++ TESTS 128 30 0 1400
4434185 ghooo B Sept. 9, 2013, 4:52 a.m. OK MS C++ TESTS 128 30 0 1400
5622329 BotanIQ B Jan. 5, 2014, 1:42 p.m. OK MS C++ TESTS 128 30 0 1400
15338776 jzwang B Jan. 14, 2016, 1:42 a.m. OK MS C++ TESTS 128 30 0 1400
14271117 Mahmouddd B Nov. 15, 2015, 3:27 p.m. OK MS C++ TESTS 128 30 0 1400
10400797 vjudge2 B March 22, 2015, 1:36 p.m. OK MS C++ TESTS 128 30 0 1400
6982988 Kazim B June 30, 2014, 1:17 a.m. OK MS C++ TESTS 128 30 0 1400
60775236 vjudge2 B Sept. 18, 2019, 2:07 p.m. OK MS C++ 2017 TESTS 128 92 0 1400
61770402 poormate B Oct. 3, 2019, 9:58 a.m. OK MS C++ 2017 TESTS 128 92 0 1400
49175890 mayakin B Jan. 29, 2019, 8:30 p.m. OK PHP TESTS 128 872 3788800 1400
14191561 kltang B Nov. 11, 2015, 2:33 a.m. OK PyPy 2 TESTS 128 342 3072000 1400
49625394 ashok123 B Feb. 8, 2019, 11:42 a.m. OK PyPy 2 TESTS 128 374 1024000 1400
14334506 sbarani B Nov. 18, 2015, 10:12 p.m. OK PyPy 2 TESTS 128 374 1843200 1400
49625431 ashok123 B Feb. 8, 2019, 11:43 a.m. OK PyPy 2 TESTS 128 404 1024000 1400
14322307 jymin94 B Nov. 18, 2015, 7:50 a.m. OK PyPy 2 TESTS 128 404 1740800 1400
15186937 kofhearts B Jan. 5, 2016, 3:19 a.m. OK PyPy 2 TESTS 128 684 4198400 1400
65163112 vjudge3 B Nov. 16, 2019, 12:12 p.m. OK PyPy 3 TESTS 128 496 11571200 1400
66967903 Freiden B Dec. 15, 2019, 12:22 p.m. OK PyPy 3 TESTS 128 498 5324800 1400
69403377 gaidash B Jan. 23, 2020, 9:58 a.m. OK PyPy 3 TESTS 128 498 9318400 1400
69378332 pratiikgoogler B Jan. 22, 2020, 6:50 p.m. OK PyPy 3 TESTS 128 528 2560000 1400
66141397 vjudge5 B Dec. 1, 2019, 2:34 p.m. OK PyPy 3 TESTS 128 528 11571200 1400
20195193 yashar_sb_sb B Aug. 27, 2016, 12:43 p.m. OK PyPy 3 TESTS 128 560 25292800 1400
56161017 platypus179 B June 27, 2019, 12:19 p.m. OK PyPy 3 TESTS 128 590 3174400 1400
59207571 Cn_yug B Aug. 21, 2019, 7:28 a.m. OK PyPy 3 TESTS 128 684 2662400 1400
18030320 knight-erraunt B May 22, 2016, 10:52 a.m. OK PyPy 3 TESTS 128 716 24780800 1400
59851575 atul2938 B Sept. 1, 2019, 11:47 a.m. OK PyPy 3 TESTS 128 840 22528000 1400
839688 DoesNotCompute B Nov. 7, 2011, 2:07 p.m. OK Python 2 TESTS 128 420 10956800 1400
2680476 daidailanlan B Nov. 30, 2012, 1:14 p.m. OK Python 2 TESTS 128 468 8089600 1400
833982 nab B Nov. 4, 2011, 8:33 a.m. OK Python 2 TESTS 128 480 10956800 1400
23671288 Ali.Pi B Jan. 9, 2017, 9:25 p.m. OK Python 2 TESTS 128 498 12902400 1400
14337106 carlostrevino B Nov. 19, 2015, 5:41 a.m. OK Python 2 TESTS 128 528 8192000 1400
4800583 Unlenin B Oct. 15, 2013, 10:12 p.m. OK Python 2 TESTS 128 530 8192000 1400
832969 Kiryx B Nov. 3, 2011, 9 p.m. OK Python 2 TESTS 128 750 5836800 1400
3493633 bfrac B April 8, 2013, 2:30 p.m. OK Python 2 TESTS 128 828 1126400 1400
887899 mihail B Nov. 23, 2011, 3:14 p.m. OK Python 2 TESTS 128 830 2867200 1400
840768 livingroom B Nov. 8, 2011, 3:57 a.m. OK Python 2 TESTS 128 830 2867200 1400
5078860 yugle7 B Nov. 12, 2013, 5:23 p.m. OK Python 3 TESTS 128 498 7475200 1400
10759959 TimTheEnchanter B April 17, 2015, 6:50 p.m. OK Python 3 TESTS 128 498 9625600 1400
14329086 andreassudihardjo B Nov. 18, 2015, 4:14 p.m. OK Python 3 TESTS 128 498 9830400 1400
10689434 jadesym B April 13, 2015, 4:07 a.m. OK Python 3 TESTS 128 528 9728000 1400
35779072 Qumeric B Feb. 28, 2018, 8:54 a.m. OK Python 3 TESTS 128 560 15564800 1400
9476417 GogolGrind B Jan. 19, 2015, 1:46 p.m. OK Python 3 TESTS 128 622 22528000 1400
42123128 Mk_Python_v1 B Aug. 26, 2018, 1:33 p.m. OK Python 3 TESTS 128 686 9830400 1400
10653015 pybae B April 10, 2015, 9:17 p.m. OK Python 3 TESTS 128 716 0 1400
59851288 atul2938 B Sept. 1, 2019, 11:39 a.m. OK Python 3 TESTS 128 716 23142400 1400
69645654 Gleb_Dubosarskii B Jan. 28, 2020, 12:57 a.m. OK Python 3 TESTS 128 746 20480000 1400
907611 K_operafan B Nov. 27, 2011, 6:33 a.m. OK Ruby TESTS 128 730 3788800 1400
56018039 sorry_im_smurfing B June 24, 2019, 11:28 p.m. OK Ruby TESTS 128 746 11776000 1400
35837942 ______n______ B March 2, 2018, 1:22 p.m. OK Ruby TESTS 128 840 18227200 1400
35837932 ______u______ B March 2, 2018, 1:22 p.m. OK Ruby TESTS 128 840 18227200 1400
35837852 _____i_____ B March 2, 2018, 1:21 p.m. OK Ruby TESTS 128 840 18227200 1400
35837821 _____k_____ B March 2, 2018, 1:21 p.m. OK Ruby TESTS 128 840 18227200 1400
35831478 ______h______ B March 2, 2018, 9:47 a.m. OK Ruby TESTS 128 840 18227200 1400
35831442 ______k______ B March 2, 2018, 9:46 a.m. OK Ruby TESTS 128 840 18227200 1400
35831418 ______i______ B March 2, 2018, 9:46 a.m. OK Ruby TESTS 128 840 18227200 1400
35830026 ______M______ B March 2, 2018, 9 a.m. OK Ruby TESTS 128 840 18227200 1400

remove filters

Back to search problems