Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- number of rows = 4
- number of cols = 5
- arr1:
- [255, 184, 178, 84, 129]
- [84, 255, 255, 130, 84]
- [78, 255, 0, 0, 78]
- [84, 130, 255, 130, 84]
- arr1: number of white pixels = 5
- arr2:
- [221, 184, 178, 84, 135]
- [84, 255, 255, 130, 84]
- [78, 255, 0, 0, 78]
- [84, 130, 255, 130, 84]
- arr2 after processing:
- [221, 184, 178, 84, 135]
- [0, 125, 255, 130, 84]
- [78, 255, 0, 0, 78]
- [84, 130, 255, 130, 84]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement