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

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

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
  • Проголосовать: не нравится

»
6 лет назад, скрыть # |
 
Проголосовать: нравится +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

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

grabs popcorn

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

You just reminded me that HackerRank exists.

»
6 лет назад, скрыть # |
 
Проголосовать: нравится +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).

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

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

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

  • »
    »
    5 лет назад, скрыть # ^ |
     
    Проголосовать: нравится +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.

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

»
6 лет назад, скрыть # |
 
Проголосовать: нравится +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.

  • »
    »
    6 лет назад, скрыть # ^ |
     
    Проголосовать: нравится 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

  • »
    »
    6 лет назад, скрыть # ^ |
     
    Проголосовать: нравится 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.

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

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

    • »
      »
      »
      6 лет назад, скрыть # ^ |
       
      Проголосовать: нравится 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)

  • »
    »
    6 лет назад, скрыть # ^ |
    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?

    • »
      »
      »
      6 лет назад, скрыть # ^ |
       
      Проголосовать: нравится 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.

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

I am from Hackerrank, wsup?

»
5 лет назад, скрыть # |
 
Проголосовать: нравится +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