CCCJQR P2

View as PDF

Submit solution


Points:3
Time limit:0.69s
Memory limit:16M
Authors:

Problem type

John Cena, the world's unbeatable fighter, is fighting fights against multiple fighters.

Your time is up, my time is now

You can't see me, my time is now

It's the franchise, boy I'm shining now

You can't see me, my time is now

In case you forgot or fell off I'm still hot knock your shell off

My money stack fat plus I can't turn the swell off

The franchise, doing big bid'ness, I live this

It's automatic I win this, oh you hear those horns, you finished

A soldier, and I stay under you fighting

Plus I'm storming on you chumps like I'm thunder and lightning

Ain't no way you breaking me kid, I'm harder than nails

Plus I keep it on lock, like I'm part of the jail

Slaughtering stale, competition, I got the whole block wishing

They could run with my division but they gone fishing

With no bait, kid your boy hold weight

I got my soul straight, I brush your mouth like Colgate

In any weather I'm never better your boy's so hot

You'll never catch me in the next man's sweater

If they hate, let 'em hate, I drop ya whole clan

Lay your a** down for the three second tan

Your time is up, my time is now

You can't see me, my time is now

It's the franchise, boy I'm shining now

You can't see me, my time is now

Yeah, uh, it's gon' be what it's gon' be

Five pounds of courage buddy, bass tint pants with a gold T

Uh, it's a war dance and victory step

A raw stance is a gift, when you insist it's my rep

John Cena, Trademarc, y'all are so-so

And talk about the bread you make

But don't know the recipe for dough though

Aiming guns in all your photos, that's a no-no

When this pop, you'll lip lock, your big talk's a blatant no-show

See what happens when the ice age melt

You see monetary status is not what matters, but it helps

I rock a timepiece by Benny if any

The same reason y'all could love me

Is the same reason y'all condemn me

A man's measured by the way that he thinks

Not clothing lines, ice links, leather and minks

I spent 20 plus years seeking knowledge of self

So for now Marc Predka's living live for wealth

Your time is up, my time is now

You can't see me, my time is now

It's the franchise, boy I'm shining now

You can't see me, my time is now

Your time is up, my time is now

You can't see me, my time is now

It's the franchise, boy I'm shining now

You can't see me, my time is now

Given John Cena's name, John Cena's power level of the day, N (1 \leq N \leq 10,000) fighters, and the names and the power levels of the various fighters, determine the number of fights that John Cena will win (i.e.: the number of fights that he rekts the other fighter). The absolute value of all power levels will not exceed 10^9.

Sample Input

John Cena 9001
2
Shrek -42069
d the destroyer of FatalEagle 5

Sample Output

2

Explanation for Sample Output

Your time is up, my time is now

You can't see me, my time is now

It's the franchise, boy I'm shining now

You can't see me, my time is now

In case you forgot or fell off I'm still hot knock your shell off

My money stack fat plus I can't turn the swell off

The franchise, doing big bid'ness, I live this

It's automatic I win this, oh you hear those horns, you finished

A soldier, and I stay under you fighting

Plus I'm storming on you chumps like I'm thunder and lightning

Ain't no way you breaking me kid, I'm harder than nails

Plus I keep it on lock, like I'm part of the jail

Slaughtering stale, competition, I got the whole block wishing

They could run with my division but they gone fishing

With no bait, kid your boy hold weight

I got my soul straight, I brush your mouth like Colgate

In any weather I'm never better your boy's so hot

You'll never catch me in the next man's sweater

If they hate, let 'em hate, I drop ya whole clan

Lay your a** down for the three second tan

Your time is up, my time is now

You can't see me, my time is now

It's the franchise, boy I'm shining now

You can't see me, my time is now

Yeah, uh, it's gon' be what it's gon' be

Five pounds of courage buddy, bass tint pants with a gold T

Uh, it's a war dance and victory step

A raw stance is a gift, when you insist it's my rep

John Cena, Trademarc, y'all are so-so

And talk about the bread you make

But don't know the recipe for dough though

Aiming guns in all your photos, that's a no-no

When this pop, you'll lip lock, your big talk's a blatant no-show

See what happens when the ice age melt

You see monetary status is not what matters, but it helps

I rock a timepiece by Benny if any

The same reason y'all could love me

Is the same reason y'all condemn me

A man's measured by the way that he thinks

Not clothing lines, ice links, leather and minks

I spent 20 plus years seeking knowledge of self

So for now Marc Predka's living live for wealth

Your time is up, my time is now

You can't see me, my time is now

It's the franchise, boy I'm shining now

You can't see me, my time is now

Your time is up, my time is now

You can't see me, my time is now

It's the franchise, boy I'm shining now

You can't see me, my time is now


Comments


  • 0
    Cole_Letsche15
     commented on Jan. 9, 2017
    69

    Ripped the headset off my head as soon as I heard "and his name is..."


  • 2
    Paradox
     commented on Aug. 17, 2016
    woah

    Good thing i had my headphones off!! I would have gone deaf lol.


  • -12
    Itachi
     commented on May 11, 2016
    Judge is Inconsistant

    This passed but not this. Same code, same language. Why?


    • 11
      Xyene
       commented on May 11, 2016

      Really? This has been addressed a number of times and the answer has always been the same: we don't have a say in it. I honestly don't see a reason for anyone to continue asking the same thing, especially when the question has been answered — in detail — before.

      A judge is just as consistent as any computer. Sometimes there are things running in the background that we can't control, and there is absolutely nothing we can do to change this.

      It boils down to a very simple solution: if you think your code is right, just resubmit it!


      • -2
        Kirito
         commented on May 11, 2016

        K. I'll try to stop posting, but I'm even worse.