Department of Computer Science and Engineering, IIT Kanpur
Home
| Notice Board | Instructor | TAs | Students | Assignments | Schedule | Lectures | Resources| Assignment 1 |
| Deadline for submission :26 Jan 2003, Midnight |
| The first assignment is to write a program(in
C/C++) which will act as a player for a simple game to pick coins,in which the one who
picks the last coin loses the game. The organization of coins is as shown in the figure. |
Code requirements:
Your program may look like the following skeleton code: --------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------- Detection of malpractice: For each of the game conducted, the moves involved in it(of both the players) will be recorded, and any malpractice,(i.e, copying of programs) will be detected by an automated tool which will operate on this log file... So be aware of. copying of programs is dangerous! Note
|
Home
| Notice Board | Instructor | TAs | Students | Assignments | Schedule | Lectures | ResourcesPage last updated 21 Jan, 2003 by Raghavendra Rao