SHARE
TWEET

Tests

deleanuradu Aug 24th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ///////////////////////////////////////1.///////////////////////////////////////
  2. --- Input ---
  3. 18
  4. 101100110111100001
  5. --- Expected output (numbers)---
  6. 2 2 0 1
  7. 0
  8. ///////////////////////////////////////2.///////////////////////////////////////
  9. --- Input ---
  10. 24
  11. 101100110111000010100100
  12. --- Expected output (numbers)---
  13. 4 2 1
  14. 1
  15. ///////////////////////////////////////3.///////////////////////////////////////
  16. --- Input ---
  17. 80
  18. 00100111101010000111111111001011110100111101000001111110010111110010101110010110
  19. --- Expected output (numbers)---
  20. 10 1 1 3 1 1 0 0 1
  21. 0
  22. ///////////////////////////////////////4.///////////////////////////////////////
  23. --- Input ---
  24. 80
  25. 10010100010100011000110011010110100010101011111011100011110111101111101000011001
  26. --- Expected output (numbers)---
  27. 100 42 16 20 9 1 1 2
  28. 0
  29. ///////////////////////////////////////5.///////////////////////////////////////
  30. --- Input ---
  31. 1000
  32. 0110100110111000110101001000111000110001010100000010111010001110000101010011111010001110010001111110000011010100110110001010001110100001100010000111101001111000000101110001000011101101011010101000000010001001001101001010011010000001001101111110000110000101110111000001101000001111111001110101010010100111110110000111101011101001111000011011000111011010111011110100010001101010110000011110001011110100010110000010110000110001100110000100010011110010111010000011111101011110001110101001001110111101010100101011010111111011110110010011001000101000100101001111001001101011001001100100000000100100001100001110000011010101010110011111011100010000100110100010010111001100100010001111000011101010000100110001000011010000101111011110111001011101110101100010111100100101000000000010011111010100011110011100101000111001100000000001101111100000110100001011001010111010101001001111111001100110100011110111101011001010000011000111100000011100110000011000101011101111011011111101010100011011111001100000011000110000
  33. --- Expected output (numbers)---
  34. 125 55 29 21 6 5 2
  35. 1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top