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

Автор I_love_Tanya_Romanova, 11 лет назад, По-английски

Hello everyone!

I would like to invite you to participate in HackerEarth May Easy Round that will be held on Sunday, 01 of May. The duration of the contest is 3 hours.

The problems were set by pkacprzak and tested by me. The difficulty of this round will be not harder than CodeForces Div. 2 Round (maybe even easier). You'll be provided with 5 classic problems having partial scoring — you get points for every test that your solution passed, and also one approximate problem — your score for this task depends on how good your solution is comparing to current best solution (and don't be afraid of facing an approximate problem in a contest which lasts for 3 hours only ;) ). This contest will be a rated HE Round.

You'll be provided with statements in English, and there will also be a Russian version as well — thanks to shef_2318 for working on a problemset as a translator.

Also I want to thank to belowthebelt for helping with technical aspects of contest preparation.

In any case, Good Luck && Have Fun all of you! I hope to see you in standings :)

UPD. Please notice that problem statement of Bridges in Karak has been changed (there is an announcement about it in a contest as well — output format has been changed). We are sorry for it; in case you already attempted that problem — we strongly recommend you to check updated statement and try to fix your old solution. We'll do our best to minimize effect of this mistake in contest standings (exact decisions about rejudging old submissions and stuff like that will be made later), also contest has been extended by 15 minutes.

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

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

I think it's time for me to get back to HackerEarth. And maybe for you to get back to Twitch, I really miss your streams :D

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

I dont know how the evaluation order is decided, but waiting for 5-10 mins for verdict sucks!

»
11 лет назад, скрыть # |
← Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

I don't know why I get TLE on the third task, I tried Fermat's test, then Miller-Rabin and still TLE. Anyone else who did the same and got TLE?

BTW, let's share our solutions to the sixth task! :) Mine was a few (5-8) phases of simulated annealing. To get a neighbor solution, I randomly choose one of the 4 colors, then randomly choose one of its parameters (L, a or b) and then I randomly choose whether to increase or decrease the parameter. Then for each simulated annealing I increase/decrease the parameter with different number which I called step, like STEP1=5 for the first simulated annealing, STEP2=1 for the second, STEP3=0.1 and so on :)

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

Is the editorial coming out? This is my first hackerearth round ever, so I've no idea.

UPD: How to solve approximate problem? Thanks in advance

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

    Outlines of solutions and my codes to all problems are already in system, so they should be posted soon (it seems like some of them are available already). Feel free to ask questions if something isn't clear or if you need more detailed explanation of some parts.

    There was a small hint about approximate problem — in announcement I told you to not be afraid of it :) It's not actually a standard approximate problem — obviously you can try some optimizations and stuff like that, but for this task exact solution (giving zero penalty) exists and it is not hard to find — you have to pick vertices of some regular tetrahedron, defined by center and edge length :) You can either derive required formulas by yourself or find them in Wikipedia :) I believe there would be much more AC's on this one in case it wasn't an approximate problem and it was put somewhere in the middle of the problemset. And it was another try to make people not afraid of approximate problems and/or scary/complicated problem statements.

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

What's solution of 2nd task, meet-in-the-middle with some optimizations ?

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

Superfunctions is very nice! At first I thought it's super hard, but managed to submit it 30 seconds before the end. And I don't understand completely how it works, just managed to fit the formula for samples.

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

In problem "Super functions", use the fact that . Example, the first formula is equal to: .

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

Asking it one more time after I didn't get a reply. Who are the top 5 beginners(First yeat/Second year), has it been announced?