Magic MatrixProblem code: CYW03 |
Magic matrix is a square matrix of odd number of rows and columns. The noticeable thing in this is that the sum of all the numbers either row wise, column wise or diagonally equals to the same digit and each number can be used just once in this matrix. Write a program to develop a magic matrix of resultant sum 57.
Example
Output: 22 15 20 17 19 21 18 23 16
| Author: | arnavch |
| Date Added: | 20-03-2010 |
| Time Limit: | 1 sec |
| Source Limit: | 50000 Bytes |
| Languages: | C, C99 strict, CLOJ, CPP 4.0.0-8, CPP 4.3.2, F#, GO, PERL6, PYTH 3.1.2, TEXT |
Comments

Fetching successful submissions

Output will be just a magic
Output will be just a magic matrix ?
yes
yes
if you face any problem in
if you face any problem in submitting your answers then u can mail your answers to codechef1@gmail.com
WTF is going on here... dont
WTF is going on here... dont u ppl know how to set questions... wat dumbF*k r u ppl...
hav u guys every tried ur hands on coding.. if u havent.. then believe me, "DONT EVEN THINK OF TRYING IT"...
screw u and ur event...
YOU BETTER BE PROFESIONAL AND
YOU BETTER BE PROFESIONAL AND PLZ TALK SENSIBLY.
lolz... look hows talking...
Yes Mr. MSP wats ur problem
Yes Mr. MSP wats ur problem i have set the questions tell me wats ur problem... didnt u check which college r v from before registering so dumb of you nywazzz we can understand ur situations and by the way we have submitted the solutions to codechef and we have tried hands at coding the question...but its of we can understand its beyond your capacity to CODE such answers... you are a MSP and MSP dnt answers such questions they just know to abuse... well if you can try other questions on the same competition and if you cant then i have few questions for you....
1) WAP to add two numbers...
2) WAP to subtract two numbers
3) WAP to multiply two numbers...
4) WAP to divide two numbers...
5) WAP a menu driven program to perform above four operations....
try it and if you cant we wil mail you the solutions....