Forethought Future Cup - Elimination Round

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
1146 Forethought Future Cup - Elimination Round FINISHED False 9000 176039699 April 20, 2019, 6:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 8617 ) B Hate "A" PROGRAMMING implementation strings 1100

B'Bob has a string s consisting of lowercase English letters. He defines s ' to be the string after removing all "a" characters from s (keeping all other characters in the same order). He then generates a new string t by concatenating s and s ' . In other words, t=s+s ' (look at notes for an example). You are given a string t . Your task is to find some s that Bob could have used to generate t . It can be shown that if an answer exists, it will be unique. The first line of input contains a string t ( 1 <= q |t| <= q 10^5 ) consisting of lowercase English letters. Print a string s that could have generated t . It can be shown if an answer exists, it is unique. If no string exists, print ":(" (without double quotes, there is no space between the characters). In the first example, we have s = "aaaaa", and s ' = "". In the second example, no such s can work that will generate the given t . In the third example, we have s = "ababacac", and s ' = "bbcc", and t = s + s ' = "ababacacbbcc". '...

Tutorials

66639

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
53057942 hos.lyric B April 20, 2019, 6:08 p.m. OK D TESTS 45 31 4198400 1100
53105293 Denor B April 21, 2019, 7:23 p.m. OK Delphi TESTS 45 46 307200 1100
53105380 Denor B April 21, 2019, 7:28 p.m. OK Delphi TESTS 45 46 512000 1100
55977643 ruban B June 23, 2019, 6:32 p.m. OK Delphi TESTS 45 46 164659200 1100
53105354 Denor B April 21, 2019, 7:26 p.m. OK Delphi TESTS 45 61 409600 1100
53164451 Bear.-. B April 22, 2019, 5:24 p.m. OK FPC TESTS 45 30 819200 1100
59650908 BTS_is_Dogs B Aug. 29, 2019, 8:10 a.m. OK FPC TESTS 45 31 921600 1100
53288023 Son B April 25, 2019, 2:36 p.m. OK FPC TESTS 45 31 921600 1100
53065500 PAG B April 20, 2019, 6:46 p.m. OK FPC TESTS 45 31 921600 1100
53066424 LaSWeeG B April 20, 2019, 6:53 p.m. OK FPC TESTS 45 31 1228800 1100
53060195 PhuongPeu B April 20, 2019, 6:16 p.m. OK FPC TESTS 45 140 921600 1100
53062541 TShT B April 20, 2019, 6:27 p.m. OK FPC TESTS 45 296 921600 1100
53065278 Just_Matvey B April 20, 2019, 6:45 p.m. OK FPC TESTS 45 311 102400 1100
60747523 BugLeave B Sept. 18, 2019, 3:17 a.m. OK GNU C11 TESTS 45 31 102400 1100
69146642 vjudge2 B Jan. 19, 2020, 3:53 p.m. OK GNU C11 TESTS 45 31 204800 1100
53070485 arnob918 B April 20, 2019, 7:34 p.m. OK GNU C11 TESTS 45 31 204800 1100
53082545 sansen B April 21, 2019, 7:23 a.m. OK GNU C11 TESTS 45 31 204800 1100
53092724 Jakvrh1 B April 21, 2019, noon OK GNU C11 TESTS 45 31 204800 1100
53435452 S_K_Sami B April 27, 2019, 6:52 p.m. OK GNU C11 TESTS 45 31 204800 1100
53861416 oscer B May 7, 2019, 8:52 p.m. OK GNU C11 TESTS 45 31 204800 1100
54417840 NoSoul B May 20, 2019, 1:40 p.m. OK GNU C11 TESTS 45 31 204800 1100
65349966 DevJewel B Nov. 19, 2019, 2 p.m. OK GNU C11 TESTS 45 31 204800 1100
53375288 androider123 B April 26, 2019, 7:25 p.m. OK GNU C11 TESTS 45 31 307200 1100
53581674 silaskenn B April 30, 2019, 4 p.m. OK GNU C++11 TESTS 45 30 204800 1100
53058720 walnutwaldo20 B April 20, 2019, 6:10 p.m. OK GNU C++11 TESTS 45 30 307200 1100
60256652 Bob2006 B Sept. 8, 2019, 9:41 a.m. OK GNU C++11 TESTS 45 30 409600 1100
53066291 mivael B April 20, 2019, 6:52 p.m. OK GNU C++11 TESTS 45 30 409600 1100
53067197 AnisParvez B April 20, 2019, 6:59 p.m. OK GNU C++11 TESTS 45 30 409600 1100
53081731 _Alm_ B April 21, 2019, 6:55 a.m. OK GNU C++11 TESTS 45 30 512000 1100
53063187 mucamaca B April 20, 2019, 6:31 p.m. OK GNU C++11 TESTS 45 30 17817600 1100
58564206 luogu_bot4 B Aug. 11, 2019, 7:12 a.m. OK GNU C++11 TESTS 45 31 0 1100
58857851 luogu_bot5 B Aug. 15, 2019, 10:12 a.m. OK GNU C++11 TESTS 45 31 0 1100
59343510 PoTAto0O1 B Aug. 23, 2019, 8:38 a.m. OK GNU C++11 TESTS 45 31 0 1100
53082773 Salehlegend B April 21, 2019, 7:30 a.m. OK GNU C++14 TESTS 45 15 307200 1100
54870331 coderflick B May 31, 2019, 8:51 a.m. OK GNU C++14 TESTS 45 15 307200 1100
53095166 sshiv B April 21, 2019, 1:09 p.m. OK GNU C++14 TESTS 45 15 409600 1100
53694556 TeeHandSome B May 3, 2019, 6:59 a.m. OK GNU C++14 TESTS 45 15 409600 1100
53106606 alamin39 B April 21, 2019, 8:34 p.m. OK GNU C++14 TESTS 45 15 409600 1100
53078065 Noob_Noob_ B April 21, 2019, 3:43 a.m. OK GNU C++14 TESTS 45 15 409600 1100
53061440 Arpanet B April 20, 2019, 6:21 p.m. OK GNU C++14 TESTS 45 15 512000 1100
53461417 opsopsops1 B April 28, 2019, 7:28 a.m. OK GNU C++14 TESTS 45 15 512000 1100
53063944 19937 B April 20, 2019, 6:35 p.m. OK GNU C++14 TESTS 45 15 512000 1100
53060865 Ferume B April 20, 2019, 6:19 p.m. OK GNU C++14 TESTS 45 15 512000 1100
53115322 me_Rose_max_Always_AK B April 22, 2019, 7:32 a.m. OK GNU C++17 TESTS 45 15 102400 1100
53791772 BigBirdBoy B May 5, 2019, 1:15 p.m. OK GNU C++17 TESTS 45 15 204800 1100
53061366 gtx1080 B April 20, 2019, 6:21 p.m. OK GNU C++17 TESTS 45 15 409600 1100
53061784 Gajowy B April 20, 2019, 6:23 p.m. OK GNU C++17 TESTS 45 15 409600 1100
53116252 vvvb B April 22, 2019, 8:16 a.m. OK GNU C++17 TESTS 45 15 512000 1100
53078659 pv0804034 B April 21, 2019, 4:36 a.m. OK GNU C++17 TESTS 45 15 512000 1100
53092873 Atreus B April 21, 2019, 12:04 p.m. OK GNU C++17 TESTS 45 15 512000 1100
53559572 vjudge3 B April 30, 2019, 8:37 a.m. OK GNU C++17 TESTS 45 15 614400 1100
53095870 ColeAnderson B April 21, 2019, 1:30 p.m. OK GNU C++17 TESTS 45 15 614400 1100
53112221 Mayimg B April 22, 2019, 4:35 a.m. OK GNU C++17 TESTS 45 15 614400 1100
53064629 Dekedro B April 20, 2019, 6:40 p.m. OK Go TESTS 45 389 0 1100
53063721 code_report B April 20, 2019, 6:34 p.m. OK Haskell TESTS 45 46 2150400 1100
68714419 StEpAn_123 B Jan. 13, 2020, 2 p.m. OK Java 11 TESTS 45 218 0 1100
53212909 di_halt B April 24, 2019, 6:48 a.m. OK Java 8 TESTS 45 109 0 1100
53088517 Shetewi B April 21, 2019, 10:01 a.m. OK Java 8 TESTS 45 109 0 1100
53093423 eyo B April 21, 2019, 12:19 p.m. OK Java 8 TESTS 45 109 0 1100
53079875 PugachAG B April 21, 2019, 5:44 a.m. OK Java 8 TESTS 45 109 0 1100
53076044 CalmDev B April 20, 2019, 9:39 p.m. OK Java 8 TESTS 45 109 0 1100
57704907 ujjwalsingh30 B July 24, 2019, 7:28 p.m. OK Java 8 TESTS 45 124 0 1100
56516186 mohdsadiq058 B July 4, 2019, 12:49 p.m. OK Java 8 TESTS 45 124 0 1100
56515962 mohdsadiq058 B July 4, 2019, 12:43 p.m. OK Java 8 TESTS 45 124 0 1100
64786704 bluesky111 B Nov. 13, 2019, 9:24 a.m. OK Java 8 TESTS 45 124 0 1100
56635782 AnandOza B July 6, 2019, 7:23 p.m. OK Java 8 TESTS 45 124 0 1100
53963998 nesdi B May 10, 2019, 3:48 p.m. OK JavaScript TESTS 45 31 4403200 1100
58227753 Spheniscine B Aug. 3, 2019, 3:15 p.m. OK Kotlin TESTS 45 140 0 1100
58227680 Spheniscine B Aug. 3, 2019, 3:13 p.m. OK Kotlin TESTS 45 140 0 1100
54451293 nk.karpov B May 21, 2019, 1:39 p.m. OK Kotlin TESTS 45 155 0 1100
56422409 Spheniscine B July 2, 2019, 7:59 a.m. OK Kotlin TESTS 45 155 102400 1100
56188599 Spheniscine B June 28, 2019, 6:22 a.m. OK Kotlin TESTS 45 155 204800 1100
53059202 Sergey.Bankevich B April 20, 2019, 6:12 p.m. OK Kotlin TESTS 45 171 0 1100
53608523 I.A.K.O.V B May 1, 2019, 11:45 a.m. OK Kotlin TESTS 45 186 1024000 1100
53061171 diego_93 B April 20, 2019, 6:20 p.m. OK Kotlin TESTS 45 187 0 1100
53102554 3mph4515 B April 21, 2019, 5:24 p.m. OK Kotlin TESTS 45 187 1228800 1100
53608405 I.A.K.O.V B May 1, 2019, 11:42 a.m. OK Kotlin TESTS 45 202 1024000 1100
53079028 romagjan B April 21, 2019, 5:01 a.m. OK Mono C# TESTS 45 46 716800 1100
56432125 og.kostya B July 2, 2019, 12:30 p.m. OK Mono C# TESTS 45 46 921600 1100
53061051 omikad B April 20, 2019, 6:20 p.m. OK Mono C# TESTS 45 61 716800 1100
65441996 Zaheed B Nov. 20, 2019, 2:38 p.m. OK Mono C# TESTS 45 61 921600 1100
53599795 ivanidze.kirov B May 1, 2019, 6:57 a.m. OK Mono C# TESTS 45 62 819200 1100
53067989 Alex20002000 B April 20, 2019, 7:07 p.m. OK Mono C# TESTS 45 62 1024000 1100
53073142 sbaraian B April 20, 2019, 8:12 p.m. OK Mono C# TESTS 45 62 1228800 1100
60737362 EL_HACKER_32 B Sept. 17, 2019, 6:09 p.m. OK Mono C# TESTS 45 62 1433600 1100
53114324 fr0st B April 22, 2019, 6:44 a.m. OK Mono C# TESTS 45 62 4505600 1100
53188172 maxym.pyzhov B April 23, 2019, 11:28 a.m. OK Mono C# TESTS 45 62 4915200 1100
53208244 yznl B April 24, 2019, 1:42 a.m. OK MS C++ TESTS 45 31 102400 1100
53208163 yznl B April 24, 2019, 1:34 a.m. OK MS C++ TESTS 45 31 102400 1100
53652215 vjudge5 B May 2, 2019, 2:08 a.m. OK MS C++ TESTS 45 31 204800 1100
53654716 vjudge2 B May 2, 2019, 3:51 a.m. OK MS C++ TESTS 45 31 204800 1100
60959628 vjudge4 B Sept. 21, 2019, 4:46 a.m. OK MS C++ TESTS 45 31 204800 1100
53071369 IGAprod B April 20, 2019, 7:46 p.m. OK MS C++ TESTS 45 31 204800 1100
53651972 vjudge2 B May 2, 2019, 1:57 a.m. OK MS C++ TESTS 45 31 204800 1100
53071642 turbokirichenko B April 20, 2019, 7:50 p.m. OK MS C++ TESTS 45 31 307200 1100
53653777 vjudge4 B May 2, 2019, 3:15 a.m. OK MS C++ TESTS 45 31 307200 1100
53670257 vjudge4 B May 2, 2019, 12:47 p.m. OK MS C++ TESTS 45 31 307200 1100
53487312 luc22082000 B April 29, 2019, 5:28 a.m. OK MS C++ 2017 TESTS 45 30 409600 1100
53666197 minhtri69 B May 2, 2019, 10:34 a.m. OK MS C++ 2017 TESTS 45 31 102400 1100
53060393 Liiiov_V B April 20, 2019, 6:17 p.m. OK MS C++ 2017 TESTS 45 31 204800 1100
53061289 dkyun B April 20, 2019, 6:21 p.m. OK MS C++ 2017 TESTS 45 31 204800 1100
53296643 Extraordinary_ B April 25, 2019, 5:51 p.m. OK MS C++ 2017 TESTS 45 31 307200 1100
53070790 kchau B April 20, 2019, 7:38 p.m. OK MS C++ 2017 TESTS 45 31 307200 1100
53071366 Mr.semicolon B April 20, 2019, 7:46 p.m. OK MS C++ 2017 TESTS 45 31 307200 1100
53178561 MenOfPassion B April 23, 2019, 6:06 a.m. OK MS C++ 2017 TESTS 45 31 307200 1100
53060686 fatant B April 20, 2019, 6:18 p.m. OK MS C++ 2017 TESTS 45 31 307200 1100
53061737 AlexandrBusse B April 20, 2019, 6:23 p.m. OK MS C++ 2017 TESTS 45 31 307200 1100
53665473 Erfan_Yazdpour B May 2, 2019, 10:06 a.m. OK Node.js TESTS 45 171 5017600 1100
53074543 hedint B April 20, 2019, 8:29 p.m. OK Node.js TESTS 45 202 10137600 1100
53062403 mm944 B April 20, 2019, 6:26 p.m. OK PascalABC.NET TESTS 45 655 204800 1100
53559439 lostamok B April 30, 2019, 8:33 a.m. OK PHP TESTS 45 46 0 1100
53981781 mayakin B May 11, 2019, 7:30 a.m. OK PHP TESTS 45 46 409600 1100
53171595 CrazyDr B April 22, 2019, 10:12 p.m. OK PHP TESTS 45 46 12185600 1100
53895265 Priyank B May 9, 2019, 5:21 a.m. OK PHP TESTS 45 311 12185600 1100
61329105 yumtam B Sept. 26, 2019, 2:29 p.m. OK PyPy 2 TESTS 45 140 4812800 1100
53059128 c1729 B April 20, 2019, 6:12 p.m. OK PyPy 2 TESTS 45 171 3072000 1100
53061093 beriefing B April 20, 2019, 6:20 p.m. OK PyPy 2 TESTS 45 171 3686400 1100
53063259 cherry_su B April 20, 2019, 6:31 p.m. OK PyPy 2 TESTS 45 171 5324800 1100
53061043 alexwice B April 20, 2019, 6:20 p.m. OK PyPy 2 TESTS 45 186 8294400 1100
53061281 Jobless22 B April 20, 2019, 6:21 p.m. OK PyPy 2 TESTS 45 187 921600 1100
53071423 raj1307 B April 20, 2019, 7:47 p.m. OK PyPy 2 TESTS 45 202 7270400 1100
53063335 Mukundan314 B April 20, 2019, 6:32 p.m. OK PyPy 2 TESTS 45 202 8704000 1100
53060332 pedrosorio B April 20, 2019, 6:16 p.m. OK PyPy 2 TESTS 45 217 4403200 1100
53064522 makkader B April 20, 2019, 6:39 p.m. OK PyPy 2 TESTS 45 249 5017600 1100
53181890 enutroh B April 23, 2019, 8:06 a.m. OK PyPy 3 TESTS 45 140 1536000 1100
53096490 IdeaSeeker B April 21, 2019, 1:49 p.m. OK PyPy 3 TESTS 45 140 4096000 1100
53187936 Leendertz B April 23, 2019, 11:22 a.m. OK PyPy 3 TESTS 45 140 5734400 1100
53297911 Jarik B April 25, 2019, 6:28 p.m. OK PyPy 3 TESTS 45 140 5734400 1100
68113266 galim665 B Jan. 3, 2020, 10:25 a.m. OK PyPy 3 TESTS 45 155 921600 1100
53061568 ItsLastDay B April 20, 2019, 6:22 p.m. OK PyPy 3 TESTS 45 155 1740800 1100
53077932 glucose B April 21, 2019, 3:10 a.m. OK PyPy 3 TESTS 45 155 1740800 1100
68827774 phlk B Jan. 14, 2020, 8:02 p.m. OK PyPy 3 TESTS 45 155 2867200 1100
53060985 yhn112 B April 20, 2019, 6:19 p.m. OK PyPy 3 TESTS 45 155 3481600 1100
69454310 Anuranjan_Pandey B Jan. 24, 2020, 7:50 a.m. OK PyPy 3 TESTS 45 156 1024000 1100
53424592 einzelkind B April 27, 2019, 1:01 p.m. OK Python 2 TESTS 45 171 409600 1100
53297988 Helli.code B April 25, 2019, 6:32 p.m. OK Python 2 TESTS 45 186 409600 1100
66072963 vjudge5 B Nov. 30, 2019, 8:41 p.m. OK Python 2 TESTS 45 186 512000 1100
53681650 daniel.carlos B May 2, 2019, 7:43 p.m. OK Python 2 TESTS 45 187 409600 1100
53076238 daniel.carlos B April 20, 2019, 9:46 p.m. OK Python 2 TESTS 45 187 409600 1100
63753876 vjudge3 B Oct. 29, 2019, 9:50 p.m. OK Python 2 TESTS 45 187 512000 1100
54249574 soumyasarkar1998 B May 16, 2019, 4:31 p.m. OK Python 2 TESTS 45 187 1843200 1100
56538014 franckmy B July 5, 2019, 2:44 a.m. OK Python 2 TESTS 45 202 307200 1100
53060579 bl4ckc4t B April 20, 2019, 6:18 p.m. OK Python 2 TESTS 45 202 307200 1100
53078260 nic6200 B April 21, 2019, 4:03 a.m. OK Python 2 TESTS 45 202 409600 1100
53284325 hamdi01 B April 25, 2019, 1:19 p.m. OK Python 3 TESTS 45 108 307200 1100
53084096 Mehrdad_ravenS B April 21, 2019, 8:08 a.m. OK Python 3 TESTS 45 108 307200 1100
55296798 ranagulshan10 B June 8, 2019, 10:13 a.m. OK Python 3 TESTS 45 108 307200 1100
55294095 LanaDelRey B June 8, 2019, 9:05 a.m. OK Python 3 TESTS 45 108 409600 1100
66156118 vjudge3 B Dec. 1, 2019, 10:41 p.m. OK Python 3 TESTS 45 109 307200 1100
63943412 vjudge1 B Oct. 31, 2019, 6:07 p.m. OK Python 3 TESTS 45 109 307200 1100
63932336 vjudge4 B Oct. 31, 2019, 2:39 p.m. OK Python 3 TESTS 45 109 307200 1100
53811162 thorkeshav B May 6, 2019, 6:51 a.m. OK Python 3 TESTS 45 109 307200 1100
54224446 MinQ B May 16, 2019, 5:34 a.m. OK Python 3 TESTS 45 109 307200 1100
53494537 tharrma B April 29, 2019, 10:59 a.m. OK Python 3 TESTS 45 109 307200 1100
53060116 rinzu B April 20, 2019, 6:16 p.m. OK Ruby TESTS 45 93 409600 1100
53435585 old_boo B April 27, 2019, 6:57 p.m. OK Ruby TESTS 45 93 409600 1100
53060604 EbTech B April 20, 2019, 6:18 p.m. OK Rust TESTS 45 31 512000 1100
53064272 wh317706 B April 20, 2019, 6:37 p.m. OK Rust TESTS 45 31 921600 1100
53065911 nafeezabrar B April 20, 2019, 6:49 p.m. OK Scala TESTS 45 577 0 1100
53059876 limed B April 20, 2019, 6:15 p.m. OK Scala TESTS 45 608 0 1100

remove filters

Back to search problems