-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs_million
20 lines (18 loc) · 1015 Bytes
/
outputs_million
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
python3 main.py alice json/f.million.json
======= 2-bit Millionaires Problem Cin, A0, B0, A1, B1 -> Cout =======
Alice[1, 2] = 0 0 Bob[3, 4] = 0 0 Outputs[15] = 1
Alice[1, 2] = 0 0 Bob[3, 4] = 0 1 Outputs[15] = 0
Alice[1, 2] = 0 0 Bob[3, 4] = 1 0 Outputs[15] = 0
Alice[1, 2] = 0 0 Bob[3, 4] = 1 1 Outputs[15] = 0
Alice[1, 2] = 0 1 Bob[3, 4] = 0 0 Outputs[15] = 1
Alice[1, 2] = 0 1 Bob[3, 4] = 0 1 Outputs[15] = 1
Alice[1, 2] = 0 1 Bob[3, 4] = 1 0 Outputs[15] = 0
Alice[1, 2] = 0 1 Bob[3, 4] = 1 1 Outputs[15] = 0
Alice[1, 2] = 1 0 Bob[3, 4] = 0 0 Outputs[15] = 1
Alice[1, 2] = 1 0 Bob[3, 4] = 0 1 Outputs[15] = 1
Alice[1, 2] = 1 0 Bob[3, 4] = 1 0 Outputs[15] = 1
Alice[1, 2] = 1 0 Bob[3, 4] = 1 1 Outputs[15] = 0
Alice[1, 2] = 1 1 Bob[3, 4] = 0 0 Outputs[15] = 1
Alice[1, 2] = 1 1 Bob[3, 4] = 0 1 Outputs[15] = 1
Alice[1, 2] = 1 1 Bob[3, 4] = 1 0 Outputs[15] = 1
Alice[1, 2] = 1 1 Bob[3, 4] = 1 1 Outputs[15] = 1