• [1189] Join the Lyrics Player

  • 时间限制: 1000 ms 内存限制: 65535 K
  • 问题描述
  • Do you know the *.lrc file?
    Well, its format is like this:

    [00:08.17]

    [01:04.62][02:17.00][03:09.27]'Til I see you again

    [01:12.20][02:23.00][03:16.00]And if time is on our side

    [01:36.25]And rise above when the rain falls down

    [00:20.03]And what if I never kiss your lips again

    [00:41.92]But 'till it does I'll have an empty heart

    [01:40.37]But it's so hard to be strong

    [01:52.46]But time takes time and I can't hold on

    [00:28.74]How would I ever go on

    [01:07.63][02:19.62][03:12.01]I'll be right here rememberin' when

    [01:48.61]It's just a matter of time I'm sure

    [01:01.86][01:25.07][02:13.90][02:36.91][03:05.96][03:29.90]It's not good-bye

    [00:05.85]Laura Pausini

    [01:18.68][02:31.21][03:23.63]On down the road

    [00:24.52]Or feel the touch of your sweet embrace

    [00:46.43]So I'll just have to believe

    [01:57.68]So won't you try as hard as you can

    [00:49.10]Somewhere out there you're thinking of me

    [01:22.12][02:34.28][03:28.38]There is one thing I can't deny

    [01:14.74][02:28.04][03:20.07]There'll be no tears to cry

    [02:01.43]To put my broken heart together again

    [00:54.10][02:06.28][02:58.36]Until the day I let you go

    [00:56.99][02:10.53][03:02.53]Until we say our next hello

    [00:36.96]Well, someday love is gonna lead you back to me

    [01:43.85]When you've been missin' somebody so long

    [00:31.68]Without you there's no place to belong

    [01:32.03]You'd think I'd be strong enough to make it through

    [00:02.36]it's not good bye


    We wanna develop a lyrics displayer, so we invite you to join us. Can you display the lyrics?

  • 输入
  • This problem contains several cases.
    The first line of each case is an integer N and M. Indicate the number of lyrics lines and the queries we will ask. (1 <= M <= 100)
    Then follow N lines of formatted lyrics. The format is like that:
    [Time1][Time2][...][TimeN]Lyrics
    Time's format is like that: ii:ss.uu.
    But this is not a time tag: [00:60.99], you should regard it as a part of lyrics.
    With no leading space.
    The lyrics of each line will not longer than 300.

    Then M lines follow. Each line is a time (The time won't be larger than the maximum time that the lyrics has).
  • 输出
  • For each query, you should output the lyrics that time should display. If there's no lyrics, then output "**************".
  • 样例输入
  • 3 2
    [04:33.96][04:35.46][04:39.92][04:41.30]赤い   甘い
    [01:03.95]赤い红茶   滴る音   弄んでは   深く抉る
    [04:37.02][04:38.35][04:43.20][04:44.96]甘い   赤い
    01:03.94
    04:35.48
    
  • 样例输出
  • **************
    赤い   甘い
    
  • 提示
  • 来源
  • XadillaX
  • 操作

显示春菜