Powered by Invision Power Board

 
    Reply to this topicStart new topicStart Poll

> Gotta love college
United States
Shyguy Grey
Posted: Jul 21 2009, 03:44 PM
Quote Post


I'll never tell
[M][*][*][*][*]
[*][*][*][*][*]
[*]

Group Icon
Group: Global Moderators
Posts: 7985
Member No.: 2927
Joined: 10-November 06

Status: (0d) [--]


K, so today in programming class, we had to do this 8 Queens problem. Basically, we had to make a simple program that would visibly show a chess board like chart with 8 markers on it that represent Queens, and they couldn't be on the same row or anything like that. K, so this probably wouldn't be so hard if it wasn't for the fact that the teachers at this place decide to skip chapters claiming that "Oh, it's not that important."

So anyways, no one knows what to do, so I made a chart using a simple printf statement, like so:

|0|_|_|_|_|_|_|_|

|_|_|_|_|_|_|_|_|

|_|o|_|_|_|_|_|_|

And so on. She bought it.


B]


--------------------
PMEmail PosterAOLYahoo
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

  Topic Options Topic Options Reply to this topicStart new topicStart Poll

 




[ Script Execution time: 0.0302 ]   [ 14 queries used ]   [ GZIP Enabled ]   [ Server Load: 1.17 ]