AIM Tech Round 3 (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
708 AIM Tech Round 3 (Div. 1) FINISHED False 7200 259766699 Aug. 24, 2016, 4:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 9015 ) A Letters Cyclic Shift PROGRAMMING constructive algorithms greedy implementation strings 1200

B"You are given a non-empty string s consisting of lowercase English letters. You have to pick exactly one non-empty substring of s and shift all its letters 'z' 'y' 'x' 'b' 'a' 'z'. In other words, each character is replaced with the previous character of English alphabet and 'a' is replaced with 'z'. What is the lexicographically minimum string that can be obtained from s by performing this shift exactly once? The only line of the input contains the string s (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89|s| xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100 xe2 x80 x89000) consisting of lowercase English letters. Print the lexicographically minimum string that can be obtained from s by shifting letters of exactly one non-empty substring. String s is lexicographically smaller than some other string t of the same length if there exists some 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89i xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89|s|, such that s1 xe2 x80 x89= xe2 x80 x89t1, xe2 x80 x89s2 xe2 x80 x89= xe2 x80 x89t2, xe2 x80 x89..., xe2 x80 x89si xe2 x80 x89- xe2 x80 x891 xe2 x80 x89= xe2 x80 x89ti xe2 x80 x89- xe2 x80 x891, and si xe2 x80 x89< xe2 x80 x89ti. "...

Tutorials

Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
20112650 TheHedgehog A Aug. 24, 2016, 4:46 p.m. OK Delphi TESTS 54 31 17920000 1200
20374468 unnamed_04 A Sept. 4, 2016, 4:25 a.m. OK FPC TESTS 54 15 307200 1200
20228312 FMM666 A Aug. 29, 2016, 11:22 a.m. OK FPC TESTS 54 15 307200 1200
20111408 Sanja A Aug. 24, 2016, 4:42 p.m. OK FPC TESTS 54 15 1945600 1200
25286531 Vadim A March 6, 2017, 8:43 a.m. OK FPC TESTS 54 15 2457600 1200
20737872 tpc2102 A Sept. 18, 2016, 2:52 p.m. OK FPC TESTS 54 31 307200 1200
49625854 biabeogo147 A Feb. 8, 2019, 11:56 a.m. OK FPC TESTS 54 31 1126400 1200
20175782 s34vv1nd A Aug. 26, 2016, 1:19 p.m. OK FPC TESTS 54 31 2048000 1200
20154241 PAG A Aug. 25, 2016, 12:50 p.m. OK FPC TESTS 54 31 2150400 1200
24642852 StarScreamOwl A Feb. 14, 2017, 6:23 a.m. OK FPC TESTS 54 31 2764800 1200
20110689 hvcuong98 A Aug. 24, 2016, 4:40 p.m. OK FPC TESTS 54 140 1945600 1200
21788121 vjudge5 A Oct. 26, 2016, 6:32 a.m. OK GNU C TESTS 54 15 102400 1200
20314879 hchsoon A Sept. 1, 2016, 4:12 a.m. OK GNU C TESTS 54 15 102400 1200
20322244 yigezhe A Sept. 1, 2016, 12:59 p.m. OK GNU C TESTS 54 15 204800 1200
20677801 PradeepYarlagadda A Sept. 17, 2016, 9:30 a.m. OK GNU C TESTS 54 15 1024000 1200
25084691 DUETcse_MOHAN A Feb. 27, 2017, 5:43 p.m. OK GNU C TESTS 54 15 1945600 1200
23541471 shuvoo A Jan. 4, 2017, 6:18 p.m. OK GNU C TESTS 54 15 1945600 1200
21575286 Jakaria_MU A Oct. 18, 2016, 6:43 p.m. OK GNU C TESTS 54 15 1945600 1200
20188392 LJL36 A Aug. 27, 2016, 5:44 a.m. OK GNU C TESTS 54 15 1945600 1200
20178774 GusztavSzmolik A Aug. 26, 2016, 3:49 p.m. OK GNU C TESTS 54 15 1945600 1200
20157279 Ishtiaq_Niloy A Aug. 25, 2016, 2:52 p.m. OK GNU C TESTS 54 15 1945600 1200
20412083 Burglar_h A Sept. 6, 2016, 5:08 a.m. OK GNU C++ TESTS 54 15 0 1200
30364254 bestFy A Sept. 15, 2017, 1:38 p.m. OK GNU C++ TESTS 54 15 0 1200
21906915 cayun A Oct. 31, 2016, 8:47 a.m. OK GNU C++ TESTS 54 15 0 1200
21906900 vjudge4 A Oct. 31, 2016, 8:47 a.m. OK GNU C++ TESTS 54 15 0 1200
21887821 lsmll A Oct. 30, 2016, 7:06 a.m. OK GNU C++ TESTS 54 15 0 1200
20875758 Kolarz A Sept. 23, 2016, 9:25 p.m. OK GNU C++ TESTS 54 15 0 1200
20489352 bunoi A Sept. 10, 2016, 3:24 a.m. OK GNU C++ TESTS 54 15 0 1200
20459609 sdibt3 A Sept. 8, 2016, 1:51 p.m. OK GNU C++ TESTS 54 15 0 1200
20455551 sdibt4 A Sept. 8, 2016, 10:04 a.m. OK GNU C++ TESTS 54 15 0 1200
20455526 sdibt5 A Sept. 8, 2016, 10:01 a.m. OK GNU C++ TESTS 54 15 0 1200
20227550 plu9in A Aug. 29, 2016, 10:34 a.m. OK GNU C11 TESTS 54 15 102400 1200
20141025 farizazmip A Aug. 25, 2016, 1:43 a.m. OK GNU C11 TESTS 54 15 2048000 1200
20552021 logicoder A Sept. 12, 2016, 3:46 p.m. OK GNU C11 TESTS 54 30 102400 1200
21788097 vjudge1 A Oct. 26, 2016, 6:30 a.m. OK GNU C11 TESTS 54 30 102400 1200
47341400 vjudge3 A Dec. 21, 2018, 5:30 p.m. OK GNU C11 TESTS 54 31 102400 1200
48678759 autobioutopia A Jan. 21, 2019, 12:26 p.m. OK GNU C11 TESTS 54 31 102400 1200
53187655 Jahid135 A April 23, 2019, 11:15 a.m. OK GNU C11 TESTS 54 31 102400 1200
54852979 patilc125 A May 30, 2019, 5:36 p.m. OK GNU C11 TESTS 54 31 102400 1200
20733488 samyak A Sept. 18, 2016, 12:08 p.m. OK GNU C11 TESTS 54 31 1024000 1200
47341380 Protik_7 A Dec. 21, 2018, 5:29 p.m. OK GNU C11 TESTS 54 46 102400 1200
20273228 WNJXYK A Aug. 30, 2016, 8:15 a.m. OK GNU C++11 TESTS 54 15 0 1200
20357111 Ixia_ A Sept. 3, 2016, 9:15 a.m. OK GNU C++11 TESTS 54 15 0 1200
20261139 diaobatian A Aug. 29, 2016, 5:57 p.m. OK GNU C++11 TESTS 54 15 0 1200
20226723 codestrength A Aug. 29, 2016, 9:41 a.m. OK GNU C++11 TESTS 54 15 0 1200
22504695 tanruidd A Nov. 26, 2016, 9:04 a.m. OK GNU C++11 TESTS 54 15 0 1200
20401090 Musuccess A Sept. 5, 2016, 1:40 p.m. OK GNU C++11 TESTS 54 15 0 1200
20461021 311504001111 A Sept. 8, 2016, 3:06 p.m. OK GNU C++11 TESTS 54 15 0 1200
30122014 Amayoneko A Sept. 6, 2017, 3:38 a.m. OK GNU C++11 TESTS 54 15 102400 1200
32367772 hawkomg A Nov. 17, 2017, 1:35 a.m. OK GNU C++11 TESTS 54 15 102400 1200
27171014 xyz.abc A May 17, 2017, 2:33 a.m. OK GNU C++11 TESTS 54 15 102400 1200
21804618 mohamedeltair A Oct. 26, 2016, 6:39 p.m. OK GNU C++14 TESTS 54 15 102400 1200
21885085 dwij28 A Oct. 30, 2016, 2 a.m. OK GNU C++14 TESTS 54 15 102400 1200
31833204 jo_on A Oct. 28, 2017, 11:03 a.m. OK GNU C++14 TESTS 54 15 102400 1200
27907356 machadianurag1996 A June 19, 2017, 3 p.m. OK GNU C++14 TESTS 54 15 102400 1200
26918820 umangnangal A May 7, 2017, 8:06 a.m. OK GNU C++14 TESTS 54 15 102400 1200
23006422 Gevorkyan_Konstantin A Dec. 15, 2016, 12:56 p.m. OK GNU C++14 TESTS 54 15 102400 1200
22980350 sicon54 A Dec. 14, 2016, 6:50 p.m. OK GNU C++14 TESTS 54 15 102400 1200
22965581 sicon54 A Dec. 14, 2016, 3:34 p.m. OK GNU C++14 TESTS 54 15 102400 1200
22964034 sicon54 A Dec. 14, 2016, 3:26 p.m. OK GNU C++14 TESTS 54 15 102400 1200
22683378 ian9696 A Dec. 3, 2016, 6:56 p.m. OK GNU C++14 TESTS 54 15 102400 1200
68939577 Mohd. A Jan. 16, 2020, 1:58 p.m. OK GNU C++17 TESTS 54 30 102400 1200
57018722 omaremam A July 14, 2019, 12:55 p.m. OK GNU C++17 TESTS 54 30 102400 1200
46289594 msi_deadman A Nov. 27, 2018, 6:38 p.m. OK GNU C++17 TESTS 54 30 307200 1200
46978542 JonathanR A Dec. 13, 2018, 6:09 p.m. OK GNU C++17 TESTS 54 30 307200 1200
56987882 Amr_Akmal A July 13, 2019, 4:40 p.m. OK GNU C++17 TESTS 54 30 307200 1200
38984789 Ashishgup A June 6, 2018, 6:04 a.m. OK GNU C++17 TESTS 54 30 307200 1200
52139237 Kirill_from_Kazan A April 1, 2019, 5:43 a.m. OK GNU C++17 TESTS 54 30 409600 1200
69933660 vjudge5 A Feb. 1, 2020, 2:13 a.m. OK GNU C++17 TESTS 54 31 102400 1200
69943854 wudanghongxixiang A Feb. 1, 2020, 6:59 a.m. OK GNU C++17 TESTS 54 31 102400 1200
69943874 vjudge4 A Feb. 1, 2020, 6:59 a.m. OK GNU C++17 TESTS 54 31 102400 1200
26488495 yuliang A April 19, 2017, 5:13 a.m. OK Go TESTS 54 311 4915200 1200
20145777 rohansumant A Aug. 25, 2016, 6:33 a.m. OK Haskell TESTS 54 30 54272000 1200
20556653 nagibator A Sept. 12, 2016, 8:53 p.m. OK Haskell TESTS 54 31 8499200 1200
20197825 fpdrot A Aug. 27, 2016, 3:34 p.m. OK Haskell TESTS 54 31 44851200 1200
56443794 mennafadali A July 2, 2019, 5:48 p.m. OK Java 8 TESTS 54 109 0 1200
29733342 bovinophile A Aug. 24, 2017, 2:22 p.m. OK Java 8 TESTS 54 109 0 1200
20181382 PhilipsNostrum A Aug. 26, 2016, 6:13 p.m. OK Java 8 TESTS 54 109 20480000 1200
25701105 WiNDWAY A March 21, 2017, 10:40 p.m. OK Java 8 TESTS 54 109 20582400 1200
29218956 yashwanthbetha A Aug. 5, 2017, 12:51 p.m. OK Java 8 TESTS 54 109 20582400 1200
60474927 YahiaMostafa A Sept. 13, 2019, 7:34 a.m. OK Java 8 TESTS 54 124 0 1200
48299206 deepak4669 A Jan. 12, 2019, 4:01 p.m. OK Java 8 TESTS 54 124 0 1200
44678979 o.radwan A Oct. 22, 2018, 4:37 a.m. OK Java 8 TESTS 54 124 0 1200
42102767 KulikAlex A Aug. 25, 2018, 8:39 p.m. OK Java 8 TESTS 54 124 0 1200
29734543 Kharouba A Aug. 24, 2017, 3:19 p.m. OK Java 8 TESTS 54 124 0 1200
53894681 I.A.K.O.V A May 9, 2019, 4:44 a.m. OK Kotlin TESTS 54 171 1331200 1200
53894705 I.A.K.O.V A May 9, 2019, 4:46 a.m. OK Kotlin TESTS 54 186 1331200 1200
44231408 nemars A Oct. 13, 2018, 12:33 a.m. OK Mono C# TESTS 54 46 921600 1200
26679858 Romas A April 26, 2017, 10:57 a.m. OK MS C# TESTS 54 46 9932800 1200
30983547 Skndr A Oct. 4, 2017, 5:20 a.m. OK MS C# TESTS 54 62 1024000 1200
20820141 DanilaMaestro A Sept. 22, 2016, 2:40 p.m. OK MS C# TESTS 54 62 1126400 1200
22398157 pomjuice A Nov. 22, 2016, 7:05 a.m. OK MS C# TESTS 54 62 3379200 1200
20109722 azukun A Aug. 24, 2016, 4:38 p.m. OK MS C# TESTS 54 62 11059200 1200
20820021 DanilaMaestro A Sept. 22, 2016, 2:35 p.m. OK MS C# TESTS 54 77 921600 1200
23366135 m1_k3 A Dec. 27, 2016, 7:36 p.m. OK MS C# TESTS 54 77 9932800 1200
20210851 camypaper A Aug. 28, 2016, 12:01 p.m. OK MS C# TESTS 54 77 12390400 1200
20393204 Chubcheg A Sept. 5, 2016, 4:45 a.m. OK MS C# TESTS 54 311 512000 1200
20377404 Liangfj A Sept. 4, 2016, 8:11 a.m. OK MS C++ TESTS 54 15 102400 1200
20301214 yz12138 A Aug. 31, 2016, 10:55 a.m. OK MS C++ TESTS 54 15 102400 1200
20463131 greenmapc A Sept. 8, 2016, 5:15 p.m. OK MS C++ TESTS 54 15 102400 1200
21844378 ethdans A Oct. 28, 2016, 10:57 a.m. OK MS C++ TESTS 54 15 307200 1200
20470713 yyzhaosjtu A Sept. 9, 2016, 1:42 a.m. OK MS C++ TESTS 54 15 307200 1200
20417298 grey A Sept. 6, 2016, 11 a.m. OK MS C++ TESTS 54 15 307200 1200
20401167 quanghero100 A Sept. 5, 2016, 1:45 p.m. OK MS C++ TESTS 54 15 307200 1200
20273092 dimdem A Aug. 30, 2016, 8:10 a.m. OK MS C++ TESTS 54 15 307200 1200
22188169 Levshunovma A Nov. 13, 2016, 6:54 a.m. OK MS C++ TESTS 54 15 307200 1200
29628293 AseelArafeh A Aug. 20, 2017, 6:46 p.m. OK MS C++ TESTS 54 15 409600 1200
61081459 JuanJr27 A Sept. 22, 2019, 4:33 p.m. OK MS C++ 2017 TESTS 54 31 102400 1200
69933855 vjudge2 A Feb. 1, 2020, 2:21 a.m. OK MS C++ 2017 TESTS 54 31 102400 1200
58188501 AhmedAdelSalama A Aug. 2, 2019, 6:15 p.m. OK MS C++ 2017 TESTS 54 31 204800 1200
61950582 shio A Oct. 6, 2019, 3:09 a.m. OK MS C++ 2017 TESTS 54 31 204800 1200
63662903 CtrlAlt A Oct. 28, 2019, 2:23 p.m. OK MS C++ 2017 TESTS 54 31 307200 1200
69934036 vjudge1 A Feb. 1, 2020, 2:30 a.m. OK MS C++ 2017 TESTS 54 46 102400 1200
66359977 Tuff1aha A Dec. 5, 2019, 5:35 p.m. OK MS C++ 2017 TESTS 54 46 512000 1200
64756889 ashis041 A Nov. 12, 2019, 5:19 p.m. OK MS C++ 2017 TESTS 54 46 14643200 1200
20978280 Joker006 A Sept. 28, 2016, 8:02 p.m. OK Perl TESTS 54 31 204800 1200
20147365 s_p A Aug. 25, 2016, 7:40 a.m. OK Perl TESTS 54 46 2560000 1200
20976540 Joker006 A Sept. 28, 2016, 6:24 p.m. OK Perl TESTS 54 576 0 1200
21634249 skamz A Oct. 21, 2016, 6:36 a.m. OK PHP TESTS 54 77 512000 1200
20157283 mayakin A Aug. 25, 2016, 2:53 p.m. OK PHP TESTS 54 156 22016000 1200
20113669 nwi A Aug. 24, 2016, 4:50 p.m. OK PyPy 2 TESTS 54 77 22323200 1200
25059785 Unlenin A Feb. 26, 2017, 4:21 p.m. OK PyPy 2 TESTS 54 78 25600000 1200
20123131 Giove A Aug. 24, 2016, 5:29 p.m. OK PyPy 2 TESTS 54 93 25702400 1200
20136797 boombastic A Aug. 24, 2016, 8:16 p.m. OK PyPy 2 TESTS 54 93 26419200 1200
20189282 nealzane A Aug. 27, 2016, 6:46 a.m. OK PyPy 2 TESTS 54 93 27852800 1200
20280442 Loveshit A Aug. 30, 2016, 1:15 p.m. OK PyPy 2 TESTS 54 108 4608000 1200
46835158 aeternalis1 A Dec. 10, 2018, 1:08 a.m. OK PyPy 2 TESTS 54 124 3891200 1200
20111696 hellman_ A Aug. 24, 2016, 4:43 p.m. OK PyPy 2 TESTS 54 233 30412800 1200
29226259 Qumeric A Aug. 5, 2017, 7:13 p.m. OK PyPy 3 TESTS 54 124 29286400 1200
51596290 cs1g A March 20, 2019, 10:20 p.m. OK PyPy 3 TESTS 54 155 3686400 1200
51596393 cs1g A March 20, 2019, 10:26 p.m. OK PyPy 3 TESTS 54 155 6860800 1200
68378017 galim665 A Jan. 7, 2020, 9:20 p.m. OK PyPy 3 TESTS 54 156 5017600 1200
60382243 kopok2 A Sept. 11, 2019, 9:45 a.m. OK PyPy 3 TESTS 54 156 6963200 1200
20110968 SirNickolas A Aug. 24, 2016, 4:41 p.m. OK PyPy 3 TESTS 54 186 28057600 1200
62443638 shall_not_pass A Oct. 12, 2019, 8:57 p.m. OK PyPy 3 TESTS 54 218 9318400 1200
20397329 Leti A Sept. 5, 2016, 10:22 a.m. OK Python 2 TESTS 54 78 1433600 1200
22216514 wwz A Nov. 15, 2016, 4:17 a.m. OK Python 2 TESTS 54 93 1638400 1200
29146792 bit10011001 A Aug. 3, 2017, 5:57 a.m. OK Python 2 TESTS 54 93 5939200 1200
23142955 ArGuTe A Dec. 19, 2016, 4:02 p.m. OK Python 2 TESTS 54 93 7884800 1200
27733445 PTQ1001 A June 12, 2017, 7:52 a.m. OK Python 2 TESTS 54 109 409600 1200
20835725 Onesh0t A Sept. 23, 2016, 11:23 a.m. OK Python 2 TESTS 54 109 409600 1200
21625962 Summo A Oct. 20, 2016, 6:39 p.m. OK Python 2 TESTS 54 109 614400 1200
21660078 drchuck A Oct. 22, 2016, 7:30 a.m. OK Python 2 TESTS 54 109 2252800 1200
20114490 llllllll A Aug. 24, 2016, 4:53 p.m. OK Python 2 TESTS 54 109 4915200 1200
20153698 cameraman A Aug. 25, 2016, 12:26 p.m. OK Python 2 TESTS 54 124 5017600 1200
20775480 ycaxgjd A Sept. 20, 2016, 12:30 p.m. OK Python 3 TESTS 54 77 1331200 1200
23200863 sina-ss A Dec. 21, 2016, 1:56 p.m. OK Python 3 TESTS 54 78 5939200 1200
23494082 stevegregg A Jan. 2, 2017, 6:40 a.m. OK Python 3 TESTS 54 93 5836800 1200
35453479 MaxHo A Feb. 18, 2018, 5:53 p.m. OK Python 3 TESTS 54 93 7065600 1200
26141493 thelastprime A April 5, 2017, 11:30 a.m. OK Python 3 TESTS 54 108 6348800 1200
20452710 skystar_p A Sept. 8, 2016, 6:54 a.m. OK Python 3 TESTS 54 109 614400 1200
27734458 bebidek A June 12, 2017, 8:58 a.m. OK Python 3 TESTS 54 109 716800 1200
20137801 patrikos A Aug. 24, 2016, 9:05 p.m. OK Python 3 TESTS 54 109 4915200 1200
26142606 kingaaf A April 5, 2017, 12:17 p.m. OK Python 3 TESTS 54 109 6246400 1200
26142586 Sheldak A April 5, 2017, 12:17 p.m. OK Python 3 TESTS 54 109 6246400 1200
20162707 JumpSmerf A Aug. 25, 2016, 7:40 p.m. OK Ruby TESTS 54 108 6860800 1200
20113261 limed A Aug. 24, 2016, 4:48 p.m. OK Scala TESTS 54 265 39833600 1200
22612797 techaddict A Nov. 30, 2016, 2:07 a.m. OK Scala TESTS 54 327 204800 1200
21585966 reldan A Oct. 19, 2016, 8:12 a.m. OK Scala TESTS 54 342 39936000 1200

remove filters

Back to search problems