yash.15296's blog

By yash.15296, 9 years ago, In English

Before start(t<0): " If I manage to solve even one problem, then I will get into Div 1 "

0:05 : After reading first problem," easy! "

0:15 : Then found the relation phi^n=phi^(n-1)+phi^(n-2)

0:20 : Then found that series grows fibonacci to 10^5 terms.

Reminder : Dont submit in this contest. Rating will free fall. continue!

0:35 : " ... maybe that's why this problem is 1000 and not 500" Move on to problem 2!

0:45 : "i am not able to understand the question".

Then I checked the standings and found that tourist had solved the third and not second.

"Probably 2nd is also hard. Lets see the third problem"

0:55 : "Third one is algorithm based (probably dp+greedy+...). I should focus on second"

1:15 : "Finally I think of a 'solution': find the lighter table and move it to maximum element of heavier table and then see for remaining elements on heavy table whether they would go to max element or invite the other table. I believe this is a very good solution and this will surely pass!"

1:25 : wrong answer on pretest 4

"That was why they warned! Dont try to be too smart..." Now I had fallen into trap!

1:35 : "Probably the numbers would have overflowed. This is the only problem that can be solved. So lets try to write it in python!"

I had never done more than hello world in python, but had seen a few codes!

With great difficulty I managed to translate it in 40 minutes after scores of runtime errors during the random inputs. (Too bad that only error in py is runtime error, even if it is because of using an undeclared variable)

2:15 : Again the same result! wrong answer on pretest 6.

Now I did not try to find the error. I had just translated a code from c++ to python!

"Okay I am not getting the problem B but i know that overflow is the problem in A. So I will try to get the pretests passed and then hack!!"

2:25 : Pretest failed. wrong answer on pretest 9.

"No problem! Lets write it in python!!" (Maybe it will treat large fibonacci numbers as normal ones)

This time I translated in 20 minutes!

2:45 : runtime error on pretest 4

On first day of python, I guess it is hard to find the cause of runtime errors, especially when you dont know the case causing it. I had no time left to continue this sorry tale and finally decided to stop it.


After contest (t>3:00):

Next day I checked my submissions. Runtime error was on 0 0 input. I felt that trivial correction would give me AC. I got TLE.



"Probably that warning ruined the confidence for this contest."




"OK. Does not matter. Keep working. Future would be better!(hopefully)"

"This contest was not meant for me. At least I stood up and tried my best (nearly)"

At least I had learnt the basic python syntax quite fast!


Thats it for now! ...

Full text and comments »

  • Vote: I like it
  • +44
  • Vote: I do not like it