суббота, 1 октября 2011 г.

Shad

Hey, yo! It's been 4 lectures and 4 seminars i have visited this year. Course is named "Algorithm's and data search". Even though I understand not all material while listening this course, it is very interesting.

Yestarday I have listened Binary Search. I didn't thought that there will be so many problems to code that (yep, mr Peter Mitrichev :)).

During the course little by little I starting understand that to code hard tasks you need to
1) have a good mood :)
2) theoretically prove your solve
3) test your solve very hard ;)
4) don't forget about compiler differences
5) shit, again test

Theoretical prove is sociated with some invariant that must be compiled in your mind.

пятница, 11 февраля 2011 г.

воскресенье, 6 февраля 2011 г.

Perl magic

Since i am perl-intern, perl is my second language :)
Some of it is very strange!
For example, pattern /^\w+(\d+)\w$/ match one string blabla01d and doesn't match blabla10d. I know, that \w can match digits also, so I made /^\w+?(\d+)\w$/, so it worked on MY machine. But on other computers first pattern aslo works fine.
So I DON'T KNOW WHAT IS HAPPANING!

Kill me by wall...(c)

Olympiads

http://informatics.mccme.ru/
Yestarday i found myself that is a good site to practice.
There are a lot of tasks with different complexity.
It's time to make better my skill for resolving problems.

Good luck, all genius ;)