Skip to main content

Contest diaries 1

It's not the first time that I've been to a contest though but this is the first time that I'm feeling like writing about one. Today, me and my team participated at the Daffodil IUPC 2010, a national level contest in Bangladesh. Teams from almost all renowned varsities came for the title of the championship. Before this, when I participated at the BUBT IUPC 2010, the arena wasn't looking like a contest arena. But this time the arena was awesome. The PCs were stylish and the food was less :[.

1 - Nice looking workstations
2 - All the contestants in one room
3 - Setup of the systems.
4 - Nice view with lots of solver balloons in the room

1 - Very unorganized while the contestants taking seats
2 - A wire beside us was burning because of overload
3 - Too much login issues
4 - Some PCs were so f'd up that the contestants had to submit using USB
5 - The AC was awful
6 - The sound system was a pain to the ear
7 - Too much light hitting the eyes

Top solvers:
As usual, our country's proud, BUETians solved 7 problems. It was a nice start when a team solved a problem at the very first minute with the single submission that was also the first in the contest. I'll give them this, the five balloons idea was great, creating more jealousy and competitiveness among the contestants. At first the Aeternitas team was starting to take the lead but the rat race ended with the slow but clever jumps of the Chimpanzees. As usual first 10 positions were taken by SUST, BUET and DU. Noticeable among the Private Varsities were SUB Epsilons.
The venue was all centered around the arena. I think they should have paid more attention to the capacity of the AC, I was sweating literally. The BUBT Runtime Error team had a plug all burned up beside them and their team mate had to repeatedly call the volunteers about that. Some of the seats were not distributed properly. We had to share one with the BUBTans. The cameras were putting lights on contestants faces at some places.

Solving experience:
We solved 2 problems. One a regular statistics median problem and the other was an ad-hoc XML parser problem.
What I think we should do:
- Find a better way to read the problems faster so that we can detect the easiest problem
- I left freopen intact while submitting which generated errors, I think I should work more carefully on better codes
- It's high time we've been serious about algorithms
- Need to be more mathematically analytic.

That's all I can think of right now.


Popular posts from this blog

Exporting and Importing Code::Blocks Themes

I like coding a lot, keeps me glued to the PC for hours. For that reason it's a need to edit the Syntax Highlighter to suit my eyes for that long. I use Code::Blocks which lets me do just that. But redesigning the theme every time a crash or a OS reinstall takes place is a mess. That's when CB Share Config comes to play. Note you'll need to use the Nightlies version of Code::Blocks in this case. Here's a guide for doing that on Ubuntu [ ]
And for Windows [ ]

To export your themes: Make sure Code::Blocks is not runningGo to Code::Blocks Installation directory and run "cb_share_config.exe". If you are using Linux, open up terminal and type "sudo cb_share_cofig" to make the effect system wide or "cb_share_config" to make the effect work only for your account. (Thanks to this page's auth…

Display switcher for terminal buffs

I am not a Linux developer or anything, I just love writing scripts that facilitate in making me lazy. So here's one that lets me switch my displays (dual). I usually work on only one and when I need to quickly switch, I use this. It depends on xrandr though. And it has my display names hardcoded (lots of assumptions, I know), but it might just come in handy.
Switch to left or right
./ left./ right Set both on with duplicate view ./ Set both on their individual view ./ both
You can simlink it /usr/local/bin too.
Github gist

Solving GPU nvidia Optimus issues on Linux

I have gone through painstakingly complex processes to solve this issue time after time and today I just decided to record my approach for this time. I understand that one approach almost never works twice for this issue in particular. So I am just going to add links and references that help me solve this problem.

First of all, my approach is based on Bumblebee and nothing beats this when it comes to Arch or Arch based.
Then to solve any optimus related issue,
And finally for primus run