internetguru / scpc

0 stars 0 forks source link

Ignore input extra spaces and newlines #14

Closed petrzpav closed 3 years ago

petrzpav commented 3 years ago

Implementing issue #12. For example following input leads to valid matrix

Input:


1    2 3 4

     1 2 3    4

1 3 4 5  
1   2 4 5
  2 4 5   6

Matrix:

[[1, 2, 3, 4], [1, 2, 3, 4], [1, 3, 4, 5], [1, 2, 4, 5], [2, 4, 5, 6]]

I also organized README labels into table, it looks better :-)