Wednesday, April 27, 2005

Marathon Movie Watching

These days, I keep forgetting which day of the week the day really is. Thanks to my workaholism I get to spend all 7 days of the week with my idiot box. Nevertheless still somehow there is something leftover of the schooling days, which is: A slightly upbeat happy mood on every Friday, because its the weekend again. But the routine hardly differs, when you go to office on weekends as well, but nevertheless weekends are supposed to be fun? So how does one go about making the weekend feel different from the weekdays? Out of sheer frustration in an uneventfull weekend, which passes just like one of those ordinary weekdays, we (me and my room mates) tend to make the difference by going for a movie. My room mate used to say "Hey, the Tamil cine industry is not quick enough to keep pace with us. We see movies at a faster rate than they can make them." The result is getting bonus time to spend with idiot box, because there are no good movies left to see on an weekend. So this April 14th, it looked like the Tamil cine industry for the first time had decided to keep in pace with us. The result: We played spoil sport by doing a Marathon Movie Watching episode this weekend. Since we had to come to office both the days, we ended up seeing 3 night shows the last fri, sat and sun.

We started off with ChandraMukhi, we saw how good a director P Vasu was, even when he is entrusted with the super star and a pre packaged good proven story, he still can't do anything great. I liked the movie for its second half. It was nice to see the SuperStar again on screen amidst maddening cheers and euphoria. Then there was that famous 'lakalakalaka'.

Saturday, a group of 9, we went to see Mumbai Express, which was a good laugh too! A normal kamal/crazy mohan style comedy movie, only that this time I don't think crazy mohan was involved. Pasupathy plays very well, its amazing how he fits into any picture... was good at virumandi as villan, was good as Patasu Balu in Thirupachi playing a rowdi, is good in Mumbai Express too. Looked like the movie was stretched a bit too long, but nevertheless still you get to learn ABC with a lot of fun.

On Sunday night we went to sachin. A normal vijay masala. The movie tried to imitate various other movies in various scenes and the whole movie was trying to imitate kushi. The songs were pure torture (Except for the theme music). Having lived in Ooty for about 6 years, I've never seen so much of mist within the premises of a building and an airport. The heroine Genilea who looks pretty, tries to play something like Jyothika of kushi and it didn't seem to suit her well.

Thursday, April 07, 2005

Flowers for the lord...

As I was thinking about the increment problem, out of nowhere suddenly this puzzle which my elder sis had given me when I was a kid popped out. Its quite simple now, but nevertheless here it is...

There was once a great sage. He was a follower of lord Vinayaga. There were three statues of Vinayaga near a holy pond. Everyday he used to take bath in the pond. After his dip, he'd come and pray to the lord and offer flowers. These statues had a special power: the number of flowers you place at the feet of the lord doubles. Each of the Vinayaga statue must have the same number of flowers at their feet when the sage has finished his prayers. Also each of them expect the sage to place all the flowers he has with him on their feet when he comes to pray to them. However after the offering, the sage may take back a few flowers and proceed to the next statue. But when he is done with all three statues, he shouldn't have any flowers remaining with him. The Sage goes to each of the Vinayaga statues one after the other. Question is: How many flowers should the sage carry with him initially and what would be his procedure to make sure that when he's done with his prayers all Vinyaga statues have the same number of flowers and he has none remaining.

increment problem....

oh! This one is a beauty...
The question is simple: Write a piece of C code that increments the value in an unsigned integer without using + or -. You don't have to be worried about overflows.