When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

flash_7's blog

By flash_7, history, 5 years ago, In English

Hello evevryone!
I would like to invite you to participate in HackerEarth HourStorm #6. It’s the sixth version of the short contest, that runs for 1 hour! The problem set consists of 3 traditional algorithmic tasks of various difficulties. The contest starts on the 15th December 10:00 PM — IST

For traditional algorithmic tasks, you will receive points for every test case your solution passes, so you can get some points with partial solutions as well. Check contest page for more details about in-contest schedule and rules.

I'm the setter of this round and I would like to thank webmaster for helping me preparing the tasks and testing the problems as well. We tried our best to make the problems interesting enough. Hope you'll enjoy the contest. As usual, there will be some prizes for the top three contestants.

$75 Amazon gift card
$50 Amazon gift card
$25 Amazon gift card

In addition, top 5 on the scoreboard with rating less than 1600 will win HackerEarth t-shirts. Good luck to everyone, and let's discuss the problems after the contest!

  • Vote: I like it
  • +53
  • Vote: I do not like it

»
5 years ago, # |
  Vote: I like it +6 Vote: I do not like it

Clashes with CF educational round :/ keep it atleast half an hour late !!

  • »
    »
    5 years ago, # ^ |
      Vote: I like it +16 Vote: I do not like it

    There were no clashes during the time when Hackerearth first announced the contest. As only 3 days to go i'm not sure if they can reschedule it or not.

»
5 years ago, # |
  Vote: I like it +3 Vote: I do not like it

The contest is postponed by 30 minutes. It'll now start on 15th December 10:00 PM — IST

»
5 years ago, # |
  Vote: I like it +3 Vote: I do not like it

how to solve B?

Since are only 8 distinct possible primes, so this involves some kind of bitmasks?

  • »
    »
    5 years ago, # ^ |
      Vote: I like it +1 Vote: I do not like it

    It can be solved using bitmask dp. You can check the editorial to know the details :)

»
5 years ago, # |
  Vote: I like it 0 Vote: I do not like it

"top 5 on the scoreboard with rating less than 1600 will win HackerEarth t-shirts"

I read the contest description. https://www.hackerearth.com/challenge/competitive/hourstorm-6-1/

They didn't mention that rating have to be less than 1600.