пятница, 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 ;)