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

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

Hi everybody.

The IndiaHacks finals will take place tomorrow (on Saturday). The contest is being organized by HackerEarth. Just after the official finals, the CF round will start (check-your-time) with almost the same problems. You can treat it as a standard CF round — there will be 5 problems in each of 2 divisions, and 2 hours to solve them. Two divisions will compete together on the problem set with 7 problems, with 2 hours to solve them.

I want to especially thank I_love_Tanya_Romanova for testing the problems, GlebsHP for help with making the CF round possible, and MikeMirzayanov for his awesome attitude and for the Polygon system. Setters: Lewin, k790alex, Sokolov, Errichto. Testers: I_love_Tanya_Romanova, Errichto. Small help: belowthebelt, raviojha2105, johnasselta, Radewoosh. And my big thanks to HackerEarth for inviting me to Bangalore, it's truly a vibrant city.

Some info only for 40 official finalists — Remember not to discuss anything until the CF round ends (so, at least 2 hours after the official contest ends). You will find all important information at link-to-the-contest. You can ask me questions by PM on CF or on HE, and I will put answers in the "Challenge Details" at the link provided. Do not use comments here because it can only confuse others. You can use some old blog about the IndiaHacks semifinals if you want to discuss something.

I wish you great fun and no frustrating bugs. Enjoy the contest.

Scoring: 500-1000-1500-2000-2500-3500-3500.

WINNERS

  1. EvenImage, the only one to solve all 7 problems!
  2. JoeyWheeler
  3. jcvb
  4. andrew.volchek
  5. ikatanic

In the official finals there were technical issues with the stack size (it was again only 8MB) and constraints in E weren't correct at the beginning. We want to fix it as much as possible, without any guessing though — we can't say how much time did you waste because of something. If you were affected then write to me PM with the description of the situation. Your time penalties will be canceled (and maybe some earlier submission will be accepted, if only the stack size didn't allow you to get AC).

Editorial is being created here.

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

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

So the official finalists lose a rated contest? Or is there a way to add ppl to the standings afterwards and let them be rated?

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

We always expect some photographs in these onsite contests :)

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

A rated div2 contest after a long time.

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

Welcome to India Errichto! :)

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

Idk why, but March is so adored by different cups and competitions. It's hard to take a part in all of them, especially (speaking about me) because there is some All-ukrainian competition in this time too (I'm talking about Math and Informatics). So, can someone explain me why March is so adorable?

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

Note changes in the blog — the contest will be combined for two divisions. Make sure to register again.

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

It's goodbye 1394(in Iran)
Happy new year(1395) :)))

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

I think these 2 contests (CROC & IndiaHacks) are closer time-wise in history of codeforces.

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

Thanks for Announcement .

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

The name of this contest is "IndiaHacks" and none of the writers or the testers of this contest are Indian. Not that I am saying it's a problem but it feels a little weird.

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

Still decreasing in Div 1 after 6 months :(

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

"The duration is 2 hours. I will try to inform you about the duration in a few hours."

Just in case the duration will change again.

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

Will the format be ACM or standard CF?

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

I submit a hack but get Unexpected verdict.I want to know what happened.

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

I feel many submissions will fail in B. Will generating all strings give time out? And can it result in int overflow?

PS

My submission was running too slow for this test case

6 26

aa a

ab a

ac a

.. .. till az a

PPS — I was wrong. I forgot that we can only use a,b,c,d,e and f.

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

Such a difference between B and C. I think in B condition "a.i!=a.i for all i!=j" makes the problem much more easy

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

Anyone can share his idea about D/E?

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

There is a strange bug(?) happening during contests. Whenever I'm seeing someone's solution, and this solution is hacked or resubmitted, a message pops up and I automatically log out.

This happened in yesterday's contest too.

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

When will start system tests?

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

How we can solve C simply?

I checked 7 possible states!!! :(

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

How to solve C? :)

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

Looks like problems in the Codeforces round are significantly easier than those in the HackerEarth round.

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

    is it bad?

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

      Well, this round was initially announced as an online mirror of IndiaHacks Algorithm Finals, but now it looks more like a different contest. Also, because the problems are different, it is not possible to easily compare results of this round with those of the official participants, and discussing problems is also more difficult because some problems are different, and all the problems are in a different order.

      Not to mention that I spent some time solving problem E with a wrong constraint.

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

The period of waiting for systest to begin, is painful. They lock problemset and all. Maybe next time I'll contribute too so they can get more servers and keep them open for generic solving >.>

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

What is the idea for problem D ?, I tried to solve using binary search the maximum amount of weight one bear can deliver and check if it's possible using fordFulkerson. But I am getting WA in pretest 6. Am I missing anything ?

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

Damn it, integer overflow in D!!!. T^T

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

How to solve D. I figured out that if I obtain residual graph and after that find flow from each edge which is leaving source node than I have to distribute 'x' bears over them. But how to do it? Or I started wrong?

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

Summary of HackerEarth problems:

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

Human stupidity at its finest: taking 50 minutes to notice a compilation error -.-'

(I'm so happy I did it before the contest ended, though :P)

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

Why didn't my submission fail?

This line is wrong according to me

z.pb(a[k]+c[j][i-3]);

It should be

z.pb(a[k]+c[j][0]);

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

A total rating gain of 1 in last 24 hours

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

12 Legendary grandmasters! :D

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

Lol

Hashes with modulo = 264 passed :)

16814596

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

EvenImage rating looks like typical track in Gravity Defied now

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

I have got WA 2 for Problem C.

But locally with gcc 4.9 and on ideone.com with C++ 14 this code on this test was executed correctly.

http://codeforces.me/contest/653/submission/16816483

What's wrong with this code?

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

Somehow, tests for D allow to search only for blocking flow, not for maximum. Compare this accepted solutions: 16816698, 16816675 on next test:

4 5 2
1 2 3
2 3 3
2 4 2
1 3 2
3 4 3

(outputs are about 3 and 4, second one is correct).

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

There is a overflowing bug in my code of problem D.

My code will fail on the following case:

4 3 100000
1 2 2
2 3 1000000
3 4 2

And some other participants also passed the system test using int to store the capacity of edges.

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

What are results of onsite(?) round?

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

Если я не ошибаюсь, то задача F была один в один на Петрозаводском контесте пару лет назад. Вроде это был контест от tourist.

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

HackerEarth scoreboard.

Remember, HackerEarth has different problems.

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

Can you guess or prove why does it work?

Problem E solution. 16820873

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

Another suspicious North Korean code!

http://codeforces.me/contest/653/submission/16815024

http://codeforces.me/contest/653/submission/16811842

I think those codes are really identical — simply some names are the difference (ex, 'doit' <-> 'foo', 'xvalue' <-> 'dat')

I actually didn't really care about those stuffs before, but my 2599 rating makes me bit sensitive. MikeMirzayanov, can you investigate these deeper?

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

Will be tutorial?

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

Editorial Please!!!

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

wrong answer 1st numbers differ - expected: '1.0000000', found: '0.9999918', error = '0.0000082'

What a sad story :((

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

What's the meaning of dsu? I can see it in Problem tags sometimes.

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

Why has the round been made unrated ?

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

Errichto And India
Thanks for coming to India. I hope you had a great time.
Image1
Image2
Image3
Image4
Image5