Technocup 2017 - Elimination Round 3

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
748 Technocup 2017 - Elimination Round 3 FINISHED False 7200 249166499 Dec. 25, 2016, 9:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 5374 ) B Santa Claus and Keyboard Check PROGRAMMING implementation strings 1500

B"Santa Claus decided to disassemble his keyboard to clean it. After he returned all the keys back, he suddenly realized that some pairs of keys took each other's place! That is, Santa suspects that each key is either on its place, or on the place of another key, which is located exactly where the first key should be. In order to make sure that he's right and restore the correct order of keys, Santa typed his favorite patter looking only to his keyboard. You are given the Santa's favorite patter and the string he actually typed. Determine which pairs of keys could be mixed. Each key must occur in pairs at most once. The input consists of only two strings s and t denoting the favorite Santa's patter and the resulting string. s and t are not empty and have the same length, which is at most 1000. Both strings consist only of lowercase English letters. If Santa is wrong, and there is no way to divide some of keys into pairs and swap keys in each pair so that the keyboard will be fixed, print xc2 xab-1 xc2 xbb (without quotes). Otherwise, the first line of output should contain the only integer k (k xe2 x80 x89 xe2 x89 xa5 xe2 x80 x890) -- the number of pairs of keys that should be swapped. The following k lines should contain two space-separated letters each, denoting the keys which should be swapped. All printed letters must be distinct. If there are several possible answers, print any of them. You are free to choose the order of the pairs and the order of keys in a pair. Each letter must occur at most once. Santa considers the keyboard to be fixed if he can print his favorite patter without mistakes. "...

Tutorials

Codeforces Round 389 (Div.2) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
23292601 NotOsikov B Dec. 25, 2016, 9:32 a.m. OK Delphi TESTS 86 15 2560000 1500
23301620 EugenePilipenko B Dec. 25, 2016, 10:42 a.m. OK Delphi TESTS 86 15 2969600 1500
23312041 MrLolthe1st B Dec. 25, 2016, 2:41 p.m. OK Delphi TESTS 86 31 2560000 1500
23484091 romanfixture1404 B Jan. 1, 2017, 1:25 p.m. OK FPC TESTS 86 15 2150400 1500
23417421 StarScreamOwl B Dec. 30, 2016, 10:53 a.m. OK FPC TESTS 86 15 2150400 1500
23314110 MaRos B Dec. 25, 2016, 4:21 p.m. OK FPC TESTS 86 15 2150400 1500
23304362 cannor147 B Dec. 25, 2016, 11:02 a.m. OK FPC TESTS 86 15 2150400 1500
23300255 prosmgeorg B Dec. 25, 2016, 10:30 a.m. OK FPC TESTS 86 15 2150400 1500
26741510 vjudge1 B April 29, 2017, 6:24 a.m. OK FPC TESTS 86 15 2252800 1500
26535086 vjudge5 B April 21, 2017, 10:15 a.m. OK FPC TESTS 86 15 2252800 1500
26534971 vjudge2 B April 21, 2017, 10:07 a.m. OK FPC TESTS 86 15 2252800 1500
24143366 Gray_58 B Jan. 26, 2017, 5:43 a.m. OK FPC TESTS 86 15 2252800 1500
23563444 quackable B Jan. 5, 2017, 9:47 p.m. OK FPC TESTS 86 15 2252800 1500
29668611 monmon2 B Aug. 21, 2017, 9:09 p.m. OK GNU C TESTS 86 15 0 1500
29667040 monmon2 B Aug. 21, 2017, 7:35 p.m. OK GNU C TESTS 86 15 0 1500
34637422 Gene_Liu B Jan. 28, 2018, 3:48 p.m. OK GNU C TESTS 86 15 1843200 1500
23727104 samvel B Jan. 12, 2017, 1:08 a.m. OK GNU C TESTS 86 15 1843200 1500
28302068 Riz1Ahmed B July 5, 2017, 11:02 a.m. OK GNU C TESTS 86 15 1945600 1500
24605894 MajAK B Feb. 12, 2017, 10:05 a.m. OK GNU C TESTS 86 30 1945600 1500
24015687 vjudge4 B Jan. 21, 2017, 4:48 p.m. OK GNU C TESTS 86 30 1945600 1500
23374219 Kanna_19 B Dec. 28, 2016, 9:14 a.m. OK GNU C TESTS 86 31 1843200 1500
23402341 NavierStokes B Dec. 29, 2016, 3:49 p.m. OK GNU C TESTS 86 31 2662400 1500
36560302 vjudge5 B March 24, 2018, 2:21 a.m. OK GNU C TESTS 86 31 3379200 1500
32333589 vjudge2 B Nov. 15, 2017, 1:53 p.m. OK GNU C++ TESTS 86 15 0 1500
32010776 vjudge2 B Nov. 3, 2017, 2:44 p.m. OK GNU C++ TESTS 86 15 0 1500
31952740 vjudge5 B Nov. 1, 2017, 2:07 p.m. OK GNU C++ TESTS 86 15 0 1500
31951937 vjudge1 B Nov. 1, 2017, 1:42 p.m. OK GNU C++ TESTS 86 15 0 1500
30565316 EvanJuV B Sept. 21, 2017, 1:41 a.m. OK GNU C++ TESTS 86 15 0 1500
30551095 diegoastiazaran B Sept. 20, 2017, 3:48 p.m. OK GNU C++ TESTS 86 15 0 1500
30532675 jlcc0704 B Sept. 20, 2017, 2:16 a.m. OK GNU C++ TESTS 86 15 0 1500
30531352 jlcc0704 B Sept. 20, 2017, 12:16 a.m. OK GNU C++ TESTS 86 15 0 1500
30489481 iangranados B Sept. 19, 2017, 6:22 a.m. OK GNU C++ TESTS 86 15 0 1500
30405176 Mr_President B Sept. 16, 2017, 8:55 p.m. OK GNU C++ TESTS 86 15 0 1500
23329967 f2lk6wf90d B Dec. 25, 2016, 11:07 p.m. OK GNU C11 TESTS 86 15 1843200 1500
23477748 napatnicky B Jan. 1, 2017, 3:23 a.m. OK GNU C11 TESTS 86 15 1945600 1500
23341241 nowthat B Dec. 26, 2016, 1:47 p.m. OK GNU C11 TESTS 86 30 1843200 1500
48092168 vjudge3 B Jan. 8, 2019, 2:26 p.m. OK GNU C11 TESTS 86 31 0 1500
67977617 Razvan2000f B Dec. 30, 2019, 5:36 p.m. OK GNU C11 TESTS 86 31 0 1500
69628672 kaiboy B Jan. 27, 2020, 4:33 p.m. OK GNU C11 TESTS 86 31 0 1500
69641772 kaiboy B Jan. 27, 2020, 9:18 p.m. OK GNU C11 TESTS 86 31 0 1500
23894040 vjudge5 B Jan. 17, 2017, 3:46 a.m. OK GNU C11 TESTS 86 31 1945600 1500
24754707 newbass B Feb. 18, 2017, 8:48 a.m. OK GNU C11 TESTS 86 31 1945600 1500
24445365 abhishek977 B Feb. 5, 2017, 5:37 a.m. OK GNU C11 TESTS 86 31 1945600 1500
29956936 Arturo B Aug. 31, 2017, 6:34 p.m. OK GNU C++11 TESTS 86 15 0 1500
29962268 hectormg B Sept. 1, 2017, 12:55 a.m. OK GNU C++11 TESTS 86 15 0 1500
32125802 alavrov B Nov. 7, 2017, 4:46 p.m. OK GNU C++11 TESTS 86 15 0 1500
32010717 s0mth1ng B Nov. 3, 2017, 2:42 p.m. OK GNU C++11 TESTS 86 15 0 1500
30627295 SOSA1095 B Sept. 23, 2017, 12:05 a.m. OK GNU C++11 TESTS 86 15 0 1500
30485587 anonbar B Sept. 18, 2017, 11:14 p.m. OK GNU C++11 TESTS 86 15 0 1500
30257686 UltimateSeiji B Sept. 11, 2017, 2:06 a.m. OK GNU C++11 TESTS 86 15 0 1500
30164448 AdrianP B Sept. 6, 2017, 7 p.m. OK GNU C++11 TESTS 86 15 0 1500
30142051 AdrianP B Sept. 6, 2017, 1:26 p.m. OK GNU C++11 TESTS 86 15 0 1500
30017694 jorgevazquez B Sept. 2, 2017, 5:17 p.m. OK GNU C++11 TESTS 86 15 0 1500
32360544 Kisui_Pari_Na B Nov. 16, 2017, 4:33 p.m. OK GNU C++14 TESTS 86 15 0 1500
32357615 Sonechko B Nov. 16, 2017, 2:22 p.m. OK GNU C++14 TESTS 86 15 0 1500
32331518 Fish_Li B Nov. 15, 2017, 12:28 p.m. OK GNU C++14 TESTS 86 15 0 1500
32060941 Errorrr B Nov. 4, 2017, 6:31 p.m. OK GNU C++14 TESTS 86 15 0 1500
31199762 Jostic11 B Oct. 10, 2017, 6 p.m. OK GNU C++14 TESTS 86 15 0 1500
31196363 Sagolbah B Oct. 10, 2017, 3:57 p.m. OK GNU C++14 TESTS 86 15 0 1500
30568724 hdsalazar B Sept. 21, 2017, 6:54 a.m. OK GNU C++14 TESTS 86 15 0 1500
30418129 jxcakak B Sept. 17, 2017, 10:56 a.m. OK GNU C++14 TESTS 86 15 0 1500
30366047 arbyzexe B Sept. 15, 2017, 3:05 p.m. OK GNU C++14 TESTS 86 15 0 1500
30332180 jolu.mym B Sept. 14, 2017, 3:31 p.m. OK GNU C++14 TESTS 86 15 0 1500
38444899 vjudge5 B May 20, 2018, 12:41 a.m. OK GNU C++17 TESTS 86 15 409600 1500
35112760 lucaszhao B Feb. 10, 2018, 5:57 a.m. OK GNU C++17 TESTS 86 15 2048000 1500
68140489 NumberFreak B Jan. 3, 2020, 9:56 p.m. OK GNU C++17 TESTS 86 30 0 1500
46116237 vovuh B Nov. 23, 2018, 2:04 p.m. OK GNU C++17 TESTS 86 30 102400 1500
58562950 Akash79 B Aug. 11, 2019, 6:38 a.m. OK GNU C++17 TESTS 86 30 102400 1500
60257856 Ya_potok_menya_tolkali B Sept. 8, 2019, 10:12 a.m. OK GNU C++17 TESTS 86 30 204800 1500
55418484 dauzee B June 11, 2019, 4:40 a.m. OK GNU C++17 TESTS 86 30 12083200 1500
68453484 AhmadNidal B Jan. 9, 2020, 3:13 p.m. OK GNU C++17 TESTS 86 31 0 1500
68453449 monster_139 B Jan. 9, 2020, 3:12 p.m. OK GNU C++17 TESTS 86 31 0 1500
67977672 lakshmi04 B Dec. 30, 2019, 5:38 p.m. OK GNU C++17 TESTS 86 31 0 1500
36716950 vjudge1 B March 29, 2018, 11:11 a.m. OK GNU C++17 Diagnostics TESTS 86 1731 101171200 1500
23414853 IvanJobs B Dec. 30, 2016, 7:56 a.m. OK Go TESTS 86 31 4915200 1500
27484244 Nesrin B June 1, 2017, 12:11 p.m. OK Java 8 TESTS 86 109 0 1500
26368768 jeoj B April 15, 2017, 1:53 a.m. OK Java 8 TESTS 86 109 20275200 1500
25425091 atarw B March 12, 2017, 6:17 a.m. OK Java 8 TESTS 86 109 20582400 1500
57262003 saurabhs1206 B July 18, 2019, 5:40 a.m. OK Java 8 TESTS 86 124 0 1500
48321087 vikashkumarbissu B Jan. 13, 2019, 9:20 a.m. OK Java 8 TESTS 86 124 0 1500
48285228 vjudge4 B Jan. 12, 2019, 10:03 a.m. OK Java 8 TESTS 86 124 0 1500
48279723 vjudge3 B Jan. 12, 2019, 7:25 a.m. OK Java 8 TESTS 86 124 0 1500
48277982 vjudge4 B Jan. 12, 2019, 6:41 a.m. OK Java 8 TESTS 86 124 0 1500
63955605 goyalnikhil064 B Nov. 1, 2019, 1:13 a.m. OK Java 8 TESTS 86 124 0 1500
23293892 dendnk9681431 B Dec. 25, 2016, 9:40 a.m. OK Java 8 TESTS 86 124 20377600 1500
23333210 Eclipso B Dec. 26, 2016, 5:36 a.m. OK JavaScript TESTS 86 46 6246400 1500
23795111 JoeBlow B Jan. 13, 2017, 11:43 p.m. OK Kotlin TESTS 86 140 21299200 1500
33871026 ZALeo B Jan. 2, 2018, 5:33 p.m. OK Kotlin TESTS 86 155 21094400 1500
33870956 ZALeo B Jan. 2, 2018, 5:29 p.m. OK Kotlin TESTS 86 155 21094400 1500
33870596 ZALeo B Jan. 2, 2018, 5:09 p.m. OK Kotlin TESTS 86 156 21094400 1500
33870287 ZALeo B Jan. 2, 2018, 4:50 p.m. OK Kotlin TESTS 86 156 21094400 1500
52075601 nemars B March 31, 2019, 9:50 a.m. OK Mono C# TESTS 86 77 3686400 1500
28712468 treasuryonly B July 20, 2017, 5:33 a.m. OK MS C# TESTS 86 61 9420800 1500
29855331 JuanCarlosGI B Aug. 28, 2017, 10:43 p.m. OK MS C# TESTS 86 62 102400 1500
24565333 manchavt B Feb. 10, 2017, 8:18 a.m. OK MS C# TESTS 86 62 9113600 1500
23311629 Sorryforpartyrocking B Dec. 25, 2016, 2:24 p.m. OK MS C# TESTS 86 77 9113600 1500
23727065 serrg B Jan. 12, 2017, 1 a.m. OK MS C# TESTS 86 78 9113600 1500
23307513 artsin666 B Dec. 25, 2016, 11:58 a.m. OK MS C# TESTS 86 124 11571200 1500
23542784 grandeur19919 B Jan. 4, 2017, 7:34 p.m. OK MS C# TESTS 86 139 11980800 1500
31062430 vjudge3 B Oct. 6, 2017, 10:24 a.m. OK MS C++ TESTS 86 15 0 1500
30551841 niki.c2014 B Sept. 20, 2017, 4:13 p.m. OK MS C++ TESTS 86 15 204800 1500
27737968 bronnikova18 B June 12, 2017, 12:42 p.m. OK MS C++ TESTS 86 15 204800 1500
35324193 Al-King-Za B Feb. 16, 2018, 1:23 a.m. OK MS C++ TESTS 86 15 2048000 1500
35588232 NizarPro B Feb. 23, 2018, 4:38 a.m. OK MS C++ TESTS 86 15 2048000 1500
35555448 AhmadJamal B Feb. 21, 2018, 5:34 p.m. OK MS C++ TESTS 86 15 2048000 1500
34446399 vjudge3 B Jan. 22, 2018, 12:17 p.m. OK MS C++ TESTS 86 15 2048000 1500
34441576 vjudge1 B Jan. 22, 2018, 9:41 a.m. OK MS C++ TESTS 86 15 2048000 1500
34438900 vjudge4 B Jan. 22, 2018, 8:40 a.m. OK MS C++ TESTS 86 15 2048000 1500
28824379 vjudge5 B July 24, 2017, 12:35 p.m. OK MS C++ TESTS 86 15 2048000 1500
54769645 VladKozin B May 28, 2019, 5:55 p.m. OK MS C++ 2017 TESTS 86 31 0 1500
68749349 vjudge5 B Jan. 14, 2020, 6:06 a.m. OK MS C++ 2017 TESTS 86 31 307200 1500
66072054 topvgrob B Nov. 30, 2019, 8:04 p.m. OK MS C++ 2017 TESTS 86 31 307200 1500
59350485 andrew_iv B Aug. 23, 2019, 11:35 a.m. OK MS C++ 2017 TESTS 86 46 0 1500
66312794 AndreyStarostin B Dec. 5, 2019, 12:02 p.m. OK PascalABC.NET TESTS 86 296 102400 1500
62168848 mm944 B Oct. 8, 2019, 10:29 p.m. OK PascalABC.NET TESTS 86 342 716800 1500
24151663 s_p B Jan. 26, 2017, 3:20 p.m. OK Perl TESTS 86 46 2150400 1500
23312437 mayakin B Dec. 25, 2016, 2:57 p.m. OK PHP TESTS 86 46 6041600 1500
24027266 APwhitehat B Jan. 22, 2017, 9:30 a.m. OK PyPy 2 TESTS 86 77 22016000 1500
38393412 nishank.suresh B May 18, 2018, 7:44 a.m. OK PyPy 3 TESTS 86 109 307200 1500
36468869 vjudge3 B March 22, 2018, 4:40 a.m. OK PyPy 3 TESTS 86 109 21708800 1500
51943292 hubert.tatra B March 28, 2019, 3:30 p.m. OK PyPy 3 TESTS 86 124 0 1500
51344371 Sevlll B March 15, 2019, 5:41 p.m. OK PyPy 3 TESTS 86 124 0 1500
23346885 cugel B Dec. 26, 2016, 7:04 p.m. OK PyPy 3 TESTS 86 124 23347200 1500
65934127 kchau B Nov. 28, 2019, 11:57 p.m. OK PyPy 3 TESTS 86 140 0 1500
60424485 kopok2 B Sept. 12, 2019, 7:30 a.m. OK PyPy 3 TESTS 86 140 0 1500
47269386 omarnvidia B Dec. 19, 2018, 3:52 p.m. OK PyPy 3 TESTS 86 140 0 1500
57126820 Claustrophobic_Penguin B July 16, 2019, 5 a.m. OK PyPy 3 TESTS 86 140 102400 1500
62015968 irza_law B Oct. 6, 2019, 4:05 p.m. OK PyPy 3 TESTS 86 140 1843200 1500
23373371 franckmy B Dec. 28, 2016, 8:19 a.m. OK Python 2 TESTS 86 46 4608000 1500
23374025 King_George B Dec. 28, 2016, 9:01 a.m. OK Python 2 TESTS 86 46 4608000 1500
23547467 CrapCoder B Jan. 5, 2017, 4:10 a.m. OK Python 2 TESTS 86 46 4710400 1500
30331058 isgulkov B Sept. 14, 2017, 2:37 p.m. OK Python 2 TESTS 86 61 0 1500
30087695 julio177 B Sept. 5, 2017, 1:20 a.m. OK Python 2 TESTS 86 62 0 1500
27439259 zyh3838438zyh B May 30, 2017, 3:39 a.m. OK Python 2 TESTS 86 62 0 1500
30087409 davila.jose23 B Sept. 5, 2017, 1:02 a.m. OK Python 2 TESTS 86 62 102400 1500
23487385 WhatTheFua B Jan. 1, 2017, 5:24 p.m. OK Python 2 TESTS 86 62 4608000 1500
23350939 YYecust B Dec. 27, 2016, 2:27 a.m. OK Python 2 TESTS 86 62 4608000 1500
25550019 mstczuo B March 16, 2017, 1:24 p.m. OK Python 2 TESTS 86 62 4710400 1500
29521651 flygrounder B Aug. 17, 2017, 8:16 a.m. OK Python 3 TESTS 86 61 0 1500
30180517 AmirAShabani B Sept. 7, 2017, 12:08 p.m. OK Python 3 TESTS 86 62 0 1500
30167034 axel.srz B Sept. 6, 2017, 9:41 p.m. OK Python 3 TESTS 86 62 0 1500
27870165 grigorij.shveps B June 17, 2017, 8:02 p.m. OK Python 3 TESTS 86 62 0 1500
30566771 ConspiracyTrial B Sept. 21, 2017, 4:21 a.m. OK Python 3 TESTS 86 62 307200 1500
29093313 Qumeric B Aug. 1, 2017, 8:39 a.m. OK Python 3 TESTS 86 62 4608000 1500
23407510 KusTaFa B Dec. 29, 2016, 8:48 p.m. OK Python 3 TESTS 86 62 4608000 1500
23349788 tariqiitju B Dec. 26, 2016, 11:17 p.m. OK Python 3 TESTS 86 62 4608000 1500
23341841 habibulka B Dec. 26, 2016, 2:19 p.m. OK Python 3 TESTS 86 62 4608000 1500
23341613 mgor B Dec. 26, 2016, 2:08 p.m. OK Python 3 TESTS 86 62 4608000 1500
26303549 amrondonp B April 11, 2017, 4:25 p.m. OK Ruby TESTS 86 77 6451200 1500

remove filters

Back to search problems