Изменения рейтингов за последние раунды временно удалены. Скоро они будут возвращены. ×

Блог пользователя Radewoosh

Автор Radewoosh, история, 5 лет назад, По-английски

Can somebody tell me what's going on with Project Euler problems on HackerRank? Do they just steal the problems? Project Euler says that they ban everybody who spoils solutions to problems above 100, and it took me a few minutes to find a solution to one of the later problems with difficulty $$$80\%$$$.

I see a few options:

Maybe Project Euler doesn't know about it? -- Hackerrank isn't as quality as CF or PE, but still, I think that PE's admin would already hear about it, and it's big enough that it might look like a problem.

Maybe PE allows HR to take their problems? -- Of course, it's possible, but knowing the policy and rules of PE it looks very strange -- finding this code took was very easy, somebody just posted it in the comments section on HR.

Money? -- ???

The same admins? -- ???

Of course, everybody sometimes steals a problem, to use it in his/her school or university for example, but this looks like a huge process. Does anybody have any information? I'm just curious.

  • Проголосовать: нравится
  • +65
  • Проголосовать: не нравится

»
5 лет назад, # |
  Проголосовать: нравится +36 Проголосовать: не нравится

It seems to me that they introduced the rule about problems 101+ just recently, about after problem 700, so I think they haven't thought about hackerrank yet

»
5 лет назад, # |
  Проголосовать: нравится -72 Проголосовать: не нравится

grabs popcorn

»
5 лет назад, # |
  Проголосовать: нравится +89 Проголосовать: не нравится

You just reminded me that HackerRank exists.

  • »
    »
    5 лет назад, # ^ |
      Проголосовать: нравится +34 Проголосовать: не нравится

    Yea, I've just got the same due to someone's blog and I've realized that some time ago it was a riddle for me.

»
5 лет назад, # |
  Проголосовать: нравится +177 Проголосовать: не нравится

Project Euler once went down and people looked for an alternative place to hold problems (to save them). Hackerrank happily started converting them to their own format, it was a free source of quality problems for them, it was called ProjectEuler+.

Project Euler went up after several months but Hackerrank continued converting problems because it wasn't forbidden.

If anybody from Hackerrank reads this, you still owe me 200 EUR coupon for Booking.com (won in some competition).

  • »
    »
    5 лет назад, # ^ |
    Rev. 2   Проголосовать: нравится +95 Проголосовать: не нравится

    Errichto on stream: "I don't want money".

    Errichto on CF: "HackerRank, you owe me 200 EUR".

    • »
      »
      »
      5 лет назад, # ^ |
        Проголосовать: нравится +88 Проголосовать: не нравится

      If you'd say that you don't want money, would it mean that you'll give yours to others...?

      • »
        »
        »
        »
        5 лет назад, # ^ |
          Проголосовать: нравится +11 Проголосовать: не нравится

        Haha, was just a joke. Although I don't understand why you say "give yours to others". From what I understood, they didn't give him the prize money/coupon right?

        Btw, my comment is in no way saying Errichto doesn't want the 200 EUR. If anyone from HackerRank reads this, please give Errichto the prize you promised.

  • »
    »
    4 года назад, # ^ |
      Проголосовать: нравится +14 Проголосовать: не нравится

    I kind of solved around 300+ problems on project euler and yet didn't learn much. I would simply write a code that ran for few minutes sometimes half and hour to give correct answer. offcourse most of them were bruteforce . Until One day i saw the same problems on hackerrank and they gave TLE's . Thats exactly when i started learning number theory the right way. dont get me wrong. Project Euler is good but as a newbie on the platform i never realised how to learn from those problems as i never got tle. so hackerrank kinda fills the place.

    PS: I too wanna what happend to hacker rank. what did it go down suddenly.

    • »
      »
      »
      4 года назад, # ^ |
        Проголосовать: нравится +40 Проголосовать: не нравится

      I think there's a rule in PE that your code should run below 30 seconds. It's up to you to obey that rule though.

    • »
      »
      »
      3 года назад, # ^ |
        Проголосовать: нравится +3 Проголосовать: не нравится

      Yeah hackerrank does fills the place , these problems are available on freecodecamp.org as well , but the brute force solution gets accepted on that platform.

»
5 лет назад, # |
  Проголосовать: нравится +95 Проголосовать: не нравится

  • »
    »
    5 лет назад, # ^ |
      Проголосовать: нравится +43 Проголосовать: не нравится

    > clean and fast website

    Except friends tab loads idk 10 seconds or more and the correct answer message takes about the same amount of time to be received (I guess insert query in some their database is slow af, as well as any read from the friends db)

    • »
      »
      »
      5 лет назад, # ^ |
        Проголосовать: нравится +31 Проголосовать: не нравится

      But don't we all love the 'oh, this page is slow to load so I'll assume it's AC and move on to the next problem' heuristic?

      (Only to be occasionally laughed at when the WA page turned out to be slow.)

      • »
        »
        »
        »
        5 лет назад, # ^ |
          Проголосовать: нравится +10 Проголосовать: не нравится

        I got fooled by that heuristic like 10 times today and man it felt really bad :(

    • »
      »
      »
      5 лет назад, # ^ |
        Проголосовать: нравится +49 Проголосовать: не нравится

      hello will you not ruin my meme please thanks

  • »
    »
    4 года назад, # ^ |
      Проголосовать: нравится -10 Проголосовать: не нравится

    lol

»
5 лет назад, # |
  Проголосовать: нравится +19 Проголосовать: не нравится

I am not an HR representative ofc, I'm just some dude who set or tested the majority of the problems of this contest.

As far as I know, Project Euler knows about Project Euler Plus and gave permission to maintain this mirror.

Also some words about stealing. Do you really think that taking a problem from PE and
1. Making it an ICPC-style problem with multiple tests or even multitest,
2. Increasing the constraints, sometimes even drastically,
3. Creating a fixed time limit which is smaller than the original one-minute rule 20-30 times,
4. Or even taking the original as a template and creating nearly original problem
can be called "stealing and just stealing"?

About spoiled solutions. There are some not very intelligent people who create a public source with their PE+ solutions. There are also some people with the same lack of intelligence who created a public source with the PE answers before PE+ was even a thing. Personally I don't like both groups of these people.

  • »
    »
    5 лет назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    But some people discuss problems in the corresponding threads in Hackerrank, and unlike similar threads in projecteuler, one does not have to solve the problem in order to see the discussions -- moreover, one doesn't have to even be logged in. I think publishing solutions or answers somewhere in public place is not the same as discussing problems in a special place for it, despite it is also public

    • »
      »
      »
      5 лет назад, # ^ |
        Проголосовать: нравится 0 Проголосовать: не нравится

      Excuse me, I don't get your point. First you write about HR discussion as a problem but then you say that it's not the same thing as publishing solutions (which is obviously worse).

      • »
        »
        »
        »
        5 лет назад, # ^ |
          Проголосовать: нравится 0 Проголосовать: не нравится

        My point is that while discussions in hr are a public place, hr as a platform obviously violates the rules of pe

  • »
    »
    5 лет назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    I told about stealing problems sometimes, it's ok if you want to use something or so, but it's a huge collection copied, so it's look like more.

    Problems are changed, but it's the same intelectual property imo.

    • »
      »
      »
      5 лет назад, # ^ |
        Проголосовать: нравится +15 Проголосовать: не нравится

      Look here

      As you can see the only thing they ask is to put the attribution link which is at the top of every problem of PE+. And of course, PE+ is not a commercial project.

  • »
    »
    5 лет назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    Are you saying that (almost) all problems in PE+ are unsolvable using intended solutions from PE?

    • »
      »
      »
      5 лет назад, # ^ |
        Проголосовать: нравится 0 Проголосовать: не нравится

      Depending on what are these "intended" solutions. I usually read PE forums before creating a problem and see a lot of people who got an answer within several seconds or even minutes. This is perfectly valid for PE, but not for PE+ (and remember that the constraints are usually larger)

  • »
    »
    5 лет назад, # ^ |
    Rev. 4   Проголосовать: нравится +14 Проголосовать: не нравится

    I think project euler is quite serious about spoiling solutions (at least recently?). I had a public repo in GitHub a few years ago (yes, Github had no free private repo back then) containing my project euler codes (and got cool 0 stars) and the project euler admin asked me to take it down. Could you just make the forum private before solving as project euler do?

    • »
      »
      »
      5 лет назад, # ^ |
        Проголосовать: нравится 0 Проголосовать: не нравится

      Well, I can say with confidence that as soon as HR receives some message from PE with the approximate content "Ok, we take our permission back, please kill this contest or remove discussions or do something else", it will be done. I don't think anything should be changed without this message.

      • »
        »
        »
        »
        5 лет назад, # ^ |
          Проголосовать: нравится 0 Проголосовать: не нравится

        Well, quite simply, reiterating what was pointed out by Golovanov399, HackerRank should at the very least only allow those who have solved the problem to read/write in the discussion page, because it violates the principle of Project Euler.

»
5 лет назад, # |
  Проголосовать: нравится -19 Проголосовать: не нравится

I am from Hackerrank, wsup?

»
4 года назад, # |
  Проголосовать: нравится +3 Проголосовать: не нравится

freecodecamp.org also have 480 problems in their archive for coding interview practice. IDK they really asked permission for this. Maybe it's permitted to use their problem in another website, or they don't really care.

https://www.freecodecamp.org/learn/coding-interview-prep/#project-euler