Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///////////////////////////////////////1.///////////////////////////////////////
- --- Input ---
- 18
- 101100110111100001
- --- Expected output (numbers)---
- 2 2 0 1
- 0
- ///////////////////////////////////////2.///////////////////////////////////////
- --- Input ---
- 24
- 101100110111000010100100
- --- Expected output (numbers)---
- 4 2 1
- 1
- ///////////////////////////////////////3.///////////////////////////////////////
- --- Input ---
- 80
- 00100111101010000111111111001011110100111101000001111110010111110010101110010110
- --- Expected output (numbers)---
- 10 1 1 3 1 1 0 0 1
- 0
- ///////////////////////////////////////4.///////////////////////////////////////
- --- Input ---
- 80
- 10010100010100011000110011010110100010101011111011100011110111101111101000011001
- --- Expected output (numbers)---
- 100 42 16 20 9 1 1 2
- 0
- ///////////////////////////////////////5.///////////////////////////////////////
- --- Input ---
- 1000
- 0110100110111000110101001000111000110001010100000010111010001110000101010011111010001110010001111110000011010100110110001010001110100001100010000111101001111000000101110001000011101101011010101000000010001001001101001010011010000001001101111110000110000101110111000001101000001111111001110101010010100111110110000111101011101001111000011011000111011010111011110100010001101010110000011110001011110100010110000010110000110001100110000100010011110010111010000011111101011110001110101001001110111101010100101011010111111011110110010011001000101000100101001111001001101011001001100100000000100100001100001110000011010101010110011111011100010000100110100010010111001100100010001111000011101010000100110001000011010000101111011110111001011101110101100010111100100101000000000010011111010100011110011100101000111001100000000001101111100000110100001011001010111010101001001111111001100110100011110111101011001010000011000111100000011100110000011000101011101111011011111101010100011011111001100000011000110000
- --- Expected output (numbers)---
- 125 55 29 21 6 5 2
- 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement