Unknown Language Round 2

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
72 Unknown Language Round 2 FINISHED False 10800 475768223 March 20, 2011, 4:10 p.m.

Problems

Solved
Index
Name
Type
Tags
Community Tag
Rating
( 181 ) E Ali goes shopping PROGRAMMING *special brute force strings 1900

Ali Koochooloo is going to buy new clothes since we're reaching Noruz, the ancient Persian festival and the beginning of new Persian year. When Ali entered a shop, he saw that the shopkeeper was a programmer and since there is no money in programming he had changed his career. The shopkeeper told Ali that he can buy anything for free if he could answer a simple question in 10 seconds. But to see the question Ali has to pay 3 tomans. Ali agreed instantly and the shopkeeper handed him a piece of paper containing the task. The task was indeed very simple. It said: Let string A be ababababababab . Which non-empty substring of A is repeated the most times in it? Ali answered fast. He said the answer is a . But the shopkeeper said that Ali is wrong and asked him to read the rest of statement: If several substrings have the maximal repeat time, then the substring with maximal length would be the answer, in case of a tie the alphabetically latest substring will be chosen. So the answer is ab . Now Ali wants us to solve this problem for different strings. We don't have a great advantage over Ali, we just have a computer and a weird language. The single line consisting of a string A . It is non-empty, made of lower-case Latin letters and contains at most 30 characters. The single line contains the answer.

Tutorials

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
41009065 ReaLNero1 E July 31, 2018, 11:37 a.m. OK Io TESTS 63 186 307200 1900
1373984 ignored E March 17, 2012, 8:21 p.m. OK Io TESTS 63 190 4608000 1900
732131 shinian E Sept. 30, 2011, 6:10 p.m. OK Io TESTS 63 190 4608000 1900
346853 alexander-nsk94 E March 21, 2011, 6:31 a.m. OK Io TESTS 63 190 4608000 1900
346852 alexander-nsk94 E March 21, 2011, 6:29 a.m. OK Io TESTS 63 190 4608000 1900
346760 pmachado E March 21, 2011, 12:45 a.m. OK Io TESTS 63 190 4608000 1900
346311 wadissimo E March 20, 2011, 6:41 p.m. OK Io TESTS 63 190 4608000 1900
346204 stan E March 20, 2011, 6:29 p.m. OK Io TESTS 63 190 4608000 1900
346105 Eqbal E March 20, 2011, 6:17 p.m. OK Io TESTS 63 190 4608000 1900
346063 ashi009 E March 20, 2011, 6:13 p.m. OK Io TESTS 63 190 4608000 1900

remove filters

Back to search problems