| 599 | |
| 600 | |
| 601 | size_t getMaxWidthOfColumn(stringmatr matr, size_t col) { |
| 602 | |
| 603 | size_t maxWidth = 0; |
| 604 | |
| 605 | for (size_t r=0; r<matr.size(); r++) { |
| 606 | size_t width = matr[r][col].size(); |
| 607 | if (width > maxWidth) |
| 608 | maxWidth = width; |
| 609 | } |
| 610 | |
| 611 | return maxWidth; |
| 612 | } |
| 613 | |
| 614 | |
| 615 | vector<size_t> getMaxWidthOfColumns(stringmatr upper, stringmatr lower) { |
no outgoing calls
no test coverage detected