Skip to content

Latest commit

 

History

History
71 lines (51 loc) · 1.24 KB

Nov-10-backup-notes.org

File metadata and controls

71 lines (51 loc) · 1.24 KB

Project 3 Notes

🔙HOME

First Things First

Quiz 4. 15 minutes, closed-book

  • On Canvas
  • Access code: component

Routing Wires

Example input:

7
7
8
1 2 2 2
2 1 2 2
1 4 2 4
2 4 2 6
4 1 4 2
4 2 5 2
4 4 5 4
4 4 4 5
2
1 1 5 5
3 3 1 5

The input board (with no wire):

0000000
01-10-120
0-1-10-1-1-1
0002000
0-1-10-1-10
00-10-110
0000000

Connect the 1st wire (1-1):

0000000
11-10-120
1-1-10-1-1-1
1002000
1-1-10-1-10
11-10-110
0111110

Connect the 2nd wire (2-2):

0002220
11-12-120
1-1-12-1-1-1
1002000
1-1-10-1-10
11-10-110
0111110

Total length of all wires: 20