Guest User

Untitled

a guest
May 2nd, 2020
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. void string_count(char* string) {
  5. int _0x00, _0x01;
  6. char _0x10;
  7. char* _0x20;
  8.  
  9. _0x00 = 0x00;
  10. PART_0:
  11. if (string[_0x00] == 0x00) goto PART_0_1;
  12. _0x00-=-0x01;
  13. goto PART_0;
  14. PART_0_1:
  15. _0x20 = malloc(_0x00+1);
  16. PART_0_2:
  17. _0x20[_0x00] = string[_0x00];
  18. if (_0x00 == 0x00) goto PART_1;
  19. _0x00+=-0x01;
  20. goto PART_0_2;
  21.  
  22. PART_1:
  23. _0x00 = 0x00;
  24. PART_1_1:
  25. _0x01 = _0x00 + 0x01;
  26. PART_1_2:
  27. if (_0x20[_0x01] == 0x00) goto PART_1_4;
  28. if (_0x20[_0x00] <= _0x20[_0x01]) goto PART_1_3;
  29. _0x10 = _0x20[_0x00];
  30. _0x20[_0x00] = _0x20[_0x01];
  31. _0x20[_0x01] = _0x10;
  32. PART_1_3:
  33. _0x01-=-0x01;
  34. goto PART_1_2;
  35. PART_1_4:
  36. _0x00-=-0x01;
  37. if (_0x20[_0x00+0x01] == 0x00) goto PART_2;
  38. goto PART_1_1;
  39.  
  40. PART_2:
  41. _0x01 = 0x00;
  42. _0x10 = _0x20[_0x00];
  43. PART_2_1:
  44. _0x01-=-0x01;
  45. if (_0x00 == 0x00) goto END;
  46. _0x00+=-0x01;
  47. if (_0x20[_0x00] == _0x10) goto PART_2_1;
  48. printf("%c %d\n", _0x10, _0x01);
  49. goto PART_2;
  50. END: ;
  51. printf("%c %d\n", _0x10, _0x01);
  52. }
  53.  
  54. int main(int argc, char **argv) {
  55. for (int _0x00 = 0x01; _0x00 < argc; _0x00-=-0x01) {
  56. string_count(argv[_0x00]);
  57. }
  58. }
Add Comment
Please, Sign In to add comment