Magic Square – IEEXtreme 8.0

Problem Johnny designed a magic square (square of numbers with the same sum for all rows, columns and diagonals i.e. both the main diagonal - meaning the diagonal that leads from the top-left corner towards bottom-right corner - and the antidiagonal - meaning the diagonal that leads from top-right corner towards bottom-left corner). Write a … Continue reading Magic Square – IEEXtreme 8.0

Sum It Up – IEEXtreme 8.0

Problem Minka is very smart kid who recently started learning computer programming. His coach gave him a cyclic array A having N numbers, and he has to perform Q operations on this array. In each operation the coach would provide him with a number X. After each operation, every element of the cyclic array would … Continue reading Sum It Up – IEEXtreme 8.0

Back to Square 1 – IEEEXtreme 8.0

The game “Back to Square 1” is played on a board that has n squares in a row and n-1 probabilities. Players take turns playing. On their first turn, a player advances to square 1.After the first turn, if a player is on square i , the player advances to square i + 1 with … Continue reading Back to Square 1 – IEEEXtreme 8.0

Configuring Network for Solaris 11 in Virtual Box

Configuring Network for Solaris 11 in Virtual Box

Hi all, recently I tried Solaris for some tasks at work. Installing Solaris on VirtualBox was not so difficult and there were quite a few resources in the internet. I used the following. http://thegeekdiary.com/installing-oracle-solaris-11-in-virtualbox/ However for configuring the network it was not the same. So here I will note down a few things which I … Continue reading Configuring Network for Solaris 11 in Virtual Box