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 |
|---|---|---|---|---|---|---|
| 100 | Unknown Language Round 3 | FINISHED | False | 10800 | 464400023 | July 30, 2011, 6 a.m. |
Solved |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
|---|---|---|---|---|---|---|
| ( 142 ) | G | Name the album | PROGRAMMING | *special data structures implementation | 2000 |
The famous singer, Aryo, is going to publish a new album of his great work! Unfortunately these days, there are many albums, Aryo wants to choose a new name for his album, a name that has not been used or at least has not been used recently. He has a list of all used album names together with the year the albums were published. He also has a list of suitable names for his album. If he finds a suitable name which has not been used before, he'll use it. Otherwise he will use the name which was used as long ago as possible. If two such names are found (that haven't been used or were used at the same year), he uses the name that is alphabetically latest. Help him name his album. The first line contains a single integer n ( 0 ≤ n ≤ 10 5 ), the number of used names. The following n lines each contain a string (the album name) and an integer (the year album was published). Album names are made of lowercase Latin letters and contain at most 14 letters. The year is in range 1900, 2011 . The following line contains a single integer m ( 1 ≤ m ≤ 10 4 ), the number of suitable album names. The following m lines each contain a string — a suitable name. It contains at most 14 lowercase Latin letters. All album names and suitable names are non-empty . Write a single string. The name of the new album. |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 571681 | volkhin | G | July 30, 2011, 7:42 a.m. | OK | Pike | TESTS | 30 | 230 | 20684800 | 2000 | |
| 571914 | Stigius | G | July 30, 2011, 7:59 a.m. | OK | Pike | TESTS | 30 | 270 | 13926400 | 2000 | |
| 1373966 | ignored | G | March 17, 2012, 8:17 p.m. | OK | Pike | TESTS | 30 | 270 | 14028800 | 2000 | |
| 572758 | recount | G | July 30, 2011, 9:11 a.m. | OK | Pike | TESTS | 30 | 300 | 13926400 | 2000 | |
| 571590 | frp | G | July 30, 2011, 7:36 a.m. | OK | Pike | TESTS | 30 | 300 | 13926400 | 2000 | |
| 1402819 | Orfest | G | March 24, 2012, 10:11 a.m. | OK | Pike | TESTS | 30 | 300 | 14028800 | 2000 | |
| 573087 | fura2 | G | July 30, 2011, 1:56 p.m. | OK | Pike | TESTS | 30 | 300 | 14131200 | 2000 | |
| 572807 | primorial | G | July 30, 2011, 9:20 a.m. | OK | Pike | TESTS | 30 | 300 | 14131200 | 2000 | |
| 572803 | eagletmt | G | July 30, 2011, 9:20 a.m. | OK | Pike | TESTS | 30 | 300 | 14131200 | 2000 | |
| 571942 | atetubou | G | July 30, 2011, 8 a.m. | OK | Pike | TESTS | 30 | 300 | 14131200 | 2000 |
Back to search problems