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

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

Hello Codeforces,

Manthan, Codefest 16 will take place on Friday 26th February, 2016 10:35PM IST with a duration of 2.5 hours. The round is rated and consists of 8 problems.

The Department of Computer Science and Engineering is conducting Codefest from 25th-28th February. Manthan( मंथन in Hindi, meaning Brainstorming), the algorithmic programming contest under the banner of Codefest, is being held as a special Codeforces round. The round follows regular Codeforces rules. The prizes for Manthan are being sponsored by Walmart Labs.

The round is prepared by One_touch_finish, mkrjn99, FoolForCS, IITianUG and code_note.

We express our heartiest thanks to GlebsHP and AlexFetisov for their help in preparing the contest and MikeMirzayanov for the awesome Codeforces and Polygon platforms!

Prizes:

Don't forget to register for Manthan at our website also to be eligible for prizes.

Overall 1st place: ₹25,000 Overall 2nd place: ₹15,000 Overall 3rd place: ₹10,000

1st place in India: ₹15,000

1st place in IIT(BHU) Varanasi: ₹4,000 1st place in freshman year, IIT(BHU) Varanasi: ₹1,000

About Codefest: Citrix presents Codefest is the annual coding festival of the Department of Computer Science and Engineering, IIT (BHU) Varanasi, which is held online and is open to participation by all! Register on the Codefest website now! Free .tech domain for everyone who registers on the Codefest Website. Total prizes worth ₹450,000/- up for grabs with events covering domains from Math, Machine Learning Cryptography and Capture The Flag style competitions. Go to the Codefest website to find out more!

Update: The editorials have been posted: http://mirror.codeforces.com/blog/entry/43392

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

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

Regarding the prizes, I have a funny story from Manthan 2011 — five years back.

The announcement promised cash prizes to the top participants, and I ended up second. The page with the exact distribution of prizes is gone already, much as the whole Codefest'11 site, and the announcement does not list the details. Anyway, the contest was on March 13, 2011, and the results of this Codefest'11 track were finalized on March 16.

Then, in May 2011, it looks like no one got their prize yet (here is a relevant comment thread in Russian).

Long after, on September 13, 2012 (one and a half year after the contest), an email was sent by organizers to the top finishers, where they explained that they had technical difficulties, but the situation now improved, and now they are able to send 25% of the prizes in Amazon gift cards, as well as scanned certificates of achievement. Now, Amazon gift card is not exactly cash, but nevertheless, they held to this one and indeed sent the gift card and the certificate after a couple of days.

I haven't gotten any mail from them since, but who knows: maybe they will be able to send another 25% in a few years?..


The bottom line is, well, I don't actually expect to receive anything from the 2011 contest organizers anymore. But I really hope the 2016 organizers are more responsible.

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

I would like to know whether GlebsHP and AlexFetisov have carefully checked the problem statements, data, etc. It's quite common in Indian contests that they make wrong data, write wrong statements, or even add a new problem during the contest.

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

XD

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

2.5 hrs for 8 problems ? I don't know, seems a little though for Div.2 competitors.

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

I can not understand one thing, you are organizing 3 contest as HackerRank Collage rounds and one as regular CF round ?

Even I think that you are providing better prizes for winner of HR contest :)

I hope the size of code isn't important as on yesterday HR round :D

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

    Hi Aleksa, Yesterdays contest, viz Perplexed, was a constrained programming event, which was bound to have Code-Golf and TLE style problems. And for other 2 contests, CTF and Mathmania, Hackerrank is a good platform (where we have question and the answer, without code).

    However Manthan is the Algorithmic contest of Codefest. And associating it with Normal CF round makes it more obvious that Code Length etc are not that significant. Just the speed and the accuracy ;)

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

what will be the scoring distribution ?

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

We must register at codefest.tech?

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

Question from blind: russian texts?

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

Are the problems suitable for both divisions?

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

How can I get the ".tech" domain? I'm quite interested because it's not common to give out such things.

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

    Hey!

    The ".tech" domain will be made available to you via email. The moment you register here. In order to be eligible for receiving the ".tech" domain be sure to register with the same email that you intend to use for following up with the registration of the domain.

    The detailed instructions will be emailed to you!

    In case any one hasn't received the instructions but has registered on codefest.tech drop me a message with your email.

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

Is the contest rated?

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

Register and get a .tech domain for free? that simple ? :P

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

will this round be rated ?

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

Let's forbid using words "rated" and "unrated" in comments.

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

I probably shouldn't participate if I want to keep my rating, but fug it :DDDD.

Btw there are quite a lot less reds registered than in the last contest. Even when adjusted to the total number of participants.

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

Перенесите соревнование, я пожрать не успел!

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

вот давайте без этого, мне вставать через 6 часов

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

Seriously? Delay? -_-

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

why the delay??? the site didn't break just before the contest start???

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

10 mins delay, seriously? F*ck this shit, I'm going to sleep :\

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

before contest start: 3:12

one hour later

before contest start: 2:24

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

When I was at hacking ...

I think that he was not sure to include all of libraries.

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

For two hours I was trying to devise fast method to calculate factorial of 400009... and I did it!
What kind of brain malfunction is that?

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

Now I know I am not the only one who completed Devil May Cry 4 recently .

As I saw the name of problem A I was like ' wait for it ' o.O

And when I saw the problem I was 'Hey' :v =D

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

I see many hacks in this contest :D First time i was able to submit 4 problems that passed pretests. I wonder if backtracking would work under time limit for C :? I saw different solutions some using hashing in my room.

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

And again tourist in the last moment, awesome! :D

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

What was the pretest 4 of D ?

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

hacks on B,C,D in 15 minutes before end... Why are you doing this to me :(

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

Can anyone tell why this test case is invalid for C?

3
aab
3
a
aa
ba
»
10 лет назад, скрыть # |
 
Проголосовать: нравится +6 Проголосовать: не нравится

Hey guys I used a Trie Based solution for Problem 3...and I got MLE on pretest 10...Isin't that really unlucky?? I mean MLE??? why ????

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

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

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

How to solve C?

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

Затупил в D, но зато от души взламывал B и C.

Обидно только, что А не получилось взломать... Видите ли:

for( int i = 0; i <= 10000; i ++ ) 
for( int j = 0; j <= 10000; j ++ ) 
if( i * a + j * b == c )
...

оптимизируется компилятором и работает менее 200 мс...

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

Why were the constraints so tight in C,D,E? :|

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

Please discuss C and D.

In D, the sequence depends upon the 1st 2 numbers. So that's n^2. Then we must determine the sequence, adding an extra n which clearly times out. What is the correct approach? Is it using binary search?

In C, I thought KMP of all words on the text(10^9 complexity)and store all occurences in text. and then DP with the result. Again, very bad complexity.

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

In E, I used Sparse Tree for range min/max queries, building the two instances for 106 took almost 3 seconds (and the limit is 3 seconds).. Though anyway got WA.

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

Why this solution (for problem A) http://mirror.codeforces.com/contest/633/submission/16351079 is hacked? I really can't get it.

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

The difference between first two tasks and other tasks are big. I think that many solution for C and D won't pass final system testing (even I am not sure for my submissions).

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

What is "Unexpected verdict"? I get it when I'm using a large random test case (http://ideone.com/oRhDoe) to hack C.

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

When will the Editorials come?

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

Why drain of points was not adjusted to the contest length (as during Goodbye 2015)? I got less points for E (which I needed more than 1 hour for) than D (which I needed few minutes for).

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

Image and video hosting by TinyPic.

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

Why pending so long?

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

Why so much delay in System Testing? :(

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

I can't find the contest on the contest page anymore... Obviously you can still find it with the URL (/contests/633).

EDIT : maybe they have enough of people refreshing the standings page. :P

EDIT2 : fixed

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

i think this will be unrated because of unexpected behaviour during hacks

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

not unrated.. please...

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

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

anyone who hacked was lucky :) i think the best way is that hackers get their hack points and the ones who got hacked because of this get their points back too

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

I hope the contest won't become unrated just because of 14 hacks. But, then again, for those 14 it will be unfair. Can't just those 14 people who were hacked be unrated? Since there are a lot of participation, I think it will be unfair to the other participants. Of course, if those 14 want to be rated, then its a different matter :) . I hope the contest organizers will take steps that will be fair for all.

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

Not sure if I should go to sleep and see the result tomorrow or wait for system test. . .

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

It was a nice contest! LOL!
Thanks for really fast system testing and fast editorial! LOL!
Thanks for being on time and no delay! LOL!
Thanks for anything!

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

It was unfortunate I seem to have been deprived a chance to hack solutions. The hacking phase was on, yet there was no lock button to lock my solution :(

Image and video hosting by TinyPic

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

A few days ago, I wished the rating changes was announced fast. Today I am tired of waiting for the system testing

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

Plz just say when system tesing is running?? TIME LIMIT EXCEEDED!

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

Hello everybody! As you may see the systests haven't yet started, let me explain you the reason.

Issue: during the contest we have noticed the mistake in the validator for problem A (Ebony and Ivory). It accepted tests with parameter c up to 100k, instead of 10k limitation given in the statement.

Scale of the problem: 19 hacks.

Decision: we have tried to find the most "fair" way to resolve this issue. Decision is the following:

  1. If the hack was unsuccessful, do nothing.

  2. If the hack was successful, but the solution was incorrect anyway, and could be hacked removing the extra sign, do nothing. For example, if the test was "1 1 100000", but the solution will obviously fail on test "1 1 10000", when we decided to keep thing as they are, as this is fair both for hacker (he still has his points) and the person being hacked (he knows his solution is incorrect).

  3. If the hack was successful, but the solution was actually correct, then we ignore this hack and rejudge the solution (so it becomes correct).

  4. We can't give you back the time that you have wasted on trying to figure out, why the solution was incorrect. The only thing we can do here is to apologize and make the round unrated for you, if you want it. So, if case number 3 is about you and you want the round to be unrated for you, contact me directly.

We sincerely apologize for this happening. As you see, we did our best to solve this issue in a way suitable for everybody.

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

Please tell us when the system test gonna start :(

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

Could someone please explain how can Java 8 use 0 KB memory for the problem C? It seems strange for me considering that in C++ I myself got MLE on it :( Edit: The solutions in Java 8 either use 100MB+ or 0.

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

How to solve H?

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

    The expected solution was using MO's Algorithm.

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

    I think that O(n * q) solution is OK.

    UPD. He got WA due to overflow. Now, it's OK, 4929 ms.

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

    If are being blocked from seeing accepted solutions before System tests. Find any user who accepted this problem, add him as a friend, go to friend standings, click on his submission, and you shall be able to see his/her solution.

    As for your question, It looks like Tourist solved it using Mo's Algorithm.

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

    We can use Mo's algorithm to reduce the problem to the operations of adding or removing an integer to a set and update the sum. We can keep the set and sums in a range using a treap.

    To update Σi = 0nFj × aj when adding x at position j, we need to add Fj × x and "shift" Σj = inFj × aj to Σj = inFj + 1 × aj. To be able to "shift" sums like that, we store both Σj = inFj × aj and Σj = inFj + 1 × aj, as we can then easily compute all Σj = inFj + k × aj.

    My code (the important functions are push, update, insert and remove) : http://lpaste.net/8369132792918835200

    The complexity should be O(n sqrt(n) log(n))

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

Come on, start these systests. We all want to get our TLEs and go to bed.

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

It's almost 12 PM in my country. Am I going to know whether my solutions will pass before going to sleep? :(

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

Finally!

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

At last our long desired system testing started !

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

Hashing fails for C :(

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

Black day II?

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

Why are the system tests stuck at 72% ?

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

Why and how every time the score of the problems in contest was changing?

I noticed : 1. When contest started score of Problem E was 250, so I started doing that. 2. Then after a refresh, score of Problem A 750 and E was still 250. 3. Then A became of 500 then it became of 250 now at the time of systests it is of 500! 4. Score of other problems also changed.

Is this legit during contest?

Wrong validator/test cases can be accepted during contest but scores? During contest end scores of problems were different, during systests it is different, and I guess after systests it will be different.

GlebsHP I understand validator can be wrong but what's with this Score issue?

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

Why and how every time the score of the problems in contest was changing?

I noticed :

  1. When contest started score of Problem E was 250, so I started doing that.

  2. Then after a refresh, score of Problem A 750 and E was still 250.

  3. Then A became of 500 then it became of 250 now at the time of systests it is of 500!

  4. Score of other problems also changed.

Is this legit during contest?

Wrong validator/test cases can be accepted during contest but scores? During contest end scores of problems were different, during systests it is different, and I guess after systests it will be different.

GlebsHP I understand validator can be wrong but what's with this Score issue?

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

why is the system test totally stuck and the site are dying ?

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

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

Codeforces back, System testing completed :D Backtracking optimized solutions passes for C: http://mirror.codeforces.com/contest/633/submission/16361771

Failed on D but ranking shifted just by 10, lot of fails on C/D

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

why this submission gets failed ?!?!?! 16362350

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

The points for the 3rd question, right at the end of the contest, was maximum 1000. I guess by then all scores had to be static. However, at the end of sys-tests, the scores for C has gone to 1500.

I am not sure if this fair, and as per rules, scores should depend on number of pretests passed, so why did they change post systests?

GlebsHP — can you please check?

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

    Check it hereAssign the value of the task dynamically depending on the number who have solved this problem. During the main contest time here will be taken into account the submissions with verdict "Pretests passed", but after system test — "Accepted".

    So it is perfectly fine if points for some problem will increase after a system testing (because of people passing pretests but failing final testing).

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

      Had no idea about this. I have never seen this till now to be honest. This was an experiment it seems. Did it stick?

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

        This is not an experiment. I have seen this before in another contest also. Please check link: http://mirror.codeforces.com/contest/550

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

          That link doesn't really help as there is no way to know whether the scores were processed due to number of pretests passed or systests passed. It could well be that A had fewer pretests passing, hence the scores were low. Not saying that you are right or wrong, just that the example makes no sense.

          More importantly, why weren't any announcements made before the contest about the dynamic scoring? This seems to be a rare event, and it would have been fair if everybody knew the rules. In every other contest, the scoring distribution is mentioned just before the contest starts.

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

            I participated in the contest myself and that's how I remember that the scoring was decided on the basis of system tests and not pretests.

            Regarding the announcement about the scoring, yes I agree, this was a mistake from our side.

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

Really strict and annoying final tests for C and D :(

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

After the contest, I'm sure that my solution for D will be judged WA, but in the end, my ABC is WA while D is AC. I'm sure it will fail at a test has 500 0's and 500 1's, but there's no such test in the final test.

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

Any editorial? No? Why? Oh, OK....![ ]( )

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

Where is an editorial?

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

hello why my problem is Skipped in the cantest Manthan, Codefest 16??

......................

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

Gaddammit. I failed E and lost 80 places because of an uncommented debug output.

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

TLE in D in 99 testcase!

Is std::map that slow ??

using std::unordered_map gives TLE on 69 testcase ..

Are there some other alternatives of using hash in c++?

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

Can someone answer on this questions, please:

  1. Why ML in E is so strict?

  2. Why this solution (16364814) get ML on Java 8 and get AC on Java 7?

  3. Does 32-bit Java version exist on Codeforces?

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

My solution for A problem (http://mirror.codeforces.com/contest/633/submission/16362922) was hacked during the contest and the same solution is now accepted when i submitted it again (http://mirror.codeforces.com/contest/633/submission/16377008).

Infact the test case on which i was hacked is not itself valid.(1 1 100000) since range of cwas less than 10000.

HOW IS THIS POSSIBLE??

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

Interesting, the editorial got hidden... You need to click this to see it — http://mirror.codeforces.com/blog/entry/43392 :) Well, it wasn't very pithy so it's not a big deal.

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

It was bad and buggy night for me :-(

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

Somehow upsolved C with regex'es (built-in backtracking), 1.1 sec. Perl — 16382698

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

Why my submission gets wrong answer in problem C ?!?!?! 16369028