-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.txt
67 lines (62 loc) · 2.25 KB
/
demo.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
1) no delay
Input: ./main -nodelay 4 4 3
Output:
Vocalist 0: I am Wandering...
Vocalist 0: I am ready to make music...
Vocalist 2: I am Wandering...
Vocalist 3: I am Wandering...
Composer 2: I am Wandering...
Composer 2: I am ready to make music...
Composer 0: I am Wandering...
Composer 2 and Vocalist 0 found a sound proof room and are making music
Composer 0: I am ready to make music...
Vocalist 1: I am Wandering...
Composer 2: I am leaving.. Bye
Vocalist 0: I am leaving.. Bye
Vocalist 1: I am ready to make music...
Vocalist 3: I am ready to make music...
Vocalist 2: I am ready to make music...
Composer 0 and Vocalist 1 found a sound proof room and are making music
Composer 0: I am leaving.. Bye
Composer 3: I am Wandering...
Composer 3: I am ready to make music...
Composer 3 and Vocalist 3 found a sound proof room and are making music
Composer 3: I am leaving.. Bye
Vocalist 2: I am leaving.. Bye
Composer 1: I am Wandering...
Composer 1: I am ready to make music...
Composer 1 and Vocalist 2 found a sound proof room and are making music
Composer 1: I am leaving.. Bye
Vocalist 1: I am leaving.. Bye
Vocalist 3: I am leaving.. Bye
2) delay
Input: ./main -randomdelay 4 4 3 8 12
Output:
Vocalist 0: I am Wandering...
Composer 0: I am Wandering...
Composer 1: I am Wandering...
Composer 2: I am Wandering...
Composer 3: I am Wandering...
Composer 1: I am ready to make music...
Vocalist 3: I am Wandering...
Vocalist 2: I am Wandering...
Vocalist 1: I am Wandering...
Vocalist 0: I am ready to make music...
Composer 1 and Vocalist 0 found a sound proof room and are making music
Vocalist 2: I am ready to make music...
Composer 1: I am leaving.. Bye
Vocalist 0: I am leaving.. Bye
Vocalist 1: I am ready to make music...
Composer 3: I am ready to make music...
Composer 3 and Vocalist 2 found a sound proof room and are making music
Composer 0: I am ready to make music...
Composer 2: I am ready to make music...
Vocalist 1: I am leaving.. Bye
Composer 2 and Vocalist 1 found a sound proof room and are making music
Vocalist 3: I am ready to make music...
Composer 2: I am leaving.. Bye
Vocalist 2: I am leaving.. Bye
Composer 3: I am leaving.. Bye
Composer 0 and Vocalist 3 found a sound proof room and are making music
Composer 0: I am leaving.. Bye
Vocalist 3: I am leaving.. Bye