Skip to content

Commit 15e024a

Browse files
author
Yiran Jing
authoredDec 3, 2020
Add files via upload
1 parent 579ae8d commit 15e024a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
 

‎Lab Exercise/README.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Group Lab Exercise
2+
There are *N* students in the class to do lab exercises. The students are divided into *M* groups, each having *K* students except the last group which may have less than *K* students. Each student is assigned to a group with a group *id* **by the teacher**.
3+
4+
There is only one lab room and each time it can only hold one group of students. The students can enter the lab to conduct their lab exercise only when their group *id* is called by the teacher. Each group can only do the lab exercise once.
5+
6+
The exercise will be limited to *T* units of time for each group. A group may take a minimum of *T*/2 units of time to complete the exercise. After completion, the group will leave the room immediately.
7+
8+
The teacher will call the next group of students to enter the lab after the current group reports the completion of their exercise and the room becomes empty.
9+
10+
**Usage**
11+
12+
$ make
13+
14+
The program needs three user input:
15+
16+
1. total number of students
17+
2. the time limit for oral exam
18+
3. the number of students in each group
19+

0 commit comments

Comments
 (0)