school/cs142/smcquay/lab08/test.txt

139 lines
881 B
Plaintext
Raw Normal View History

2016-04-06 20:45:34 -07:00
# stephen is 1
a
stephen mcquay
panda steaks
# vanessa is 2
a
vanessa mcquay
pringles
# stephen <-> vanessa
m
1
2
# no-op
m
1
2
# derek is 3
a
derek mcquay
panda steaks
# colleen is 4
a
colleen
panda steaks
# out of range
m
12
# derek <-> colleen
m
3
4
# stephen <-> derek
m
1
3
# stephen <-> colleen
m
1
4
d
# no-op
b
0
1
# stephen <-> Kevin Bacon
m
0
1
d
# not allowed:
c
0
Bacon Bits
# Stephen's food is now Bacon Bits
c
1
Bacon Bits
d
# michael is 5
a
Michael
sushi
# bilbo is 6
a
Bilbo Baggins
Bacon Bits
# frodo is 7
a
Frodo Baggins
Bacon Bits
d
# stephen <-> michael
m
1
5
# stephen <-> bilbo
m
1
6
# stephen <-> frodo
m
1
7
d
# show stephen has a few friends who love bacon bits
s
1
c
1
bacon
# show Kevin Bacon's friends
s
0
# remove friendship: stephen <-> bilbo
b
0
6
# show kevin bacon's friends
s
0
# bacon number for stephen:
e
1
d
q