Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
10 deleted 56 characters in body
source | link

Java (JDK), 500494 bytes

n->{String r="",m="ZZO+():-\n'.\\/_| ";for(int b:"ýaÝøëaÜèîÿÿ¿ÿÿÿÿïÿÿÿÿÏÿþèîÿÿûÿÿÿüëÿÿÿüÿÿþèîÿÿü¹­ÚŸošÝ©ËÿÿþèîýÚŸûÿÿÿïÿÿüÿšÝþèîšÿÿü¹wyiwyËÿÿúžèî¿šüŸûÝýíýÜÿ›úŸÎèîþÿÊÿü¿ŸoŸËÿú¿þþèîþÿïšÏûýíüÿºŸïþþèîÏœ¯üšüÏo»ú›ÿ«Ÿ¾èîÝÍÝÍÝÍ´5ͽݽݽÞèîÿ¿ÿ¿ÿ¿Ä%¿ÏÿÏÿÏþèî¿«Ÿû©û½mÌù¬ÿœ¯Îèîþÿï©¿üÿïûÿɯïþþèîþÿ¹ÿûÍ­m­¼ÿùÏþþèîÏ©ûÿüÿÿïÿûÿüù¯¾èî©ßÿ›Êwzjwz¼ŸÿÙ®èîÿù¯üýßÿïÿÝûÿ©ÿþèîÿÿûÊŸù¯o©ÿš¼ÿÿþèîÿÿüÿÿÿûìÿÿÿûÿÿþèîÝÝÍÝÝÝÝíÝÝÝݽÝÞèìaÛè""ýaÝøëaÜèîb¿bbïbbÏÿþèîbûbÿüëbÿübþèîbü¹­ÚŸošÝ©ËbþèîýÚŸûbÿïbüÿšÝþèîšbü¹wyiwyËbúžèî¿šüŸûÝýíýÜÿ›úŸÎèîþÿÊÿü¿ŸoŸËÿú¿þþèîþÿïšÏûýíüÿºŸïþþèîÏœ¯üšüÏo»ú›ÿ«Ÿ¾èîÝÍÝÍÝÍ´5ͽݽݽÞèîÿ¿ÿ¿ÿ¿Ä%¿ÏÿÏÿÏþèî¿«Ÿû©û½mÌù¬ÿœ¯Îèîþÿï©¿üÿïûÿɯïþþèîþÿ¹ÿûÍ­m­¼ÿùÏþþèîÏ©ûÿübïÿûÿüù¯¾èî©ßÿ›Êwzjwz¼ŸÿÙ®èîÿù¯üýßÿïÿÝûÿ©ÿþèîbûÊŸù¯o©ÿš¼bþèîbübÿûìbÿûbþèîÝÝÍÝÝÝÝíÝÝÝݽÝÞèìaÛè".replace("a","Ý".repeat(14)).replace("b","ÿÿ").getBytes("cp1252"))r=r+m.charAt((b>>4)&15b>>4&15)+m.charAt(b&15);return r;}

Try it online!Try it online!

unusedVariable -> {
  String r = "",                   // result buffer
         m = "ZZO+():-\n'.\\/_| ", // mapping
    ;
  for (int b :
     "ýÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝøëÝÝÝÝÝÝÝÝÝÝÝÝÝÝÜèîÿÿ¿ÿÿÿÿïÿÿÿÿÏÿþèîÿÿûÿÿÿüëÿÿÿüÿÿþèîÿÿü¹­ÚŸošÝ©ËÿÿþèîýÚŸûÿÿÿïÿÿüÿšÝþèîšÿÿü¹wyiwyËÿÿúžèî¿šüŸûÝýíýÜÿ›úŸÎèîþÿÊÿü¿ŸoŸËÿú¿þþèîþÿïšÏûýíüÿºŸïþþèîÏœ¯üšüÏo»ú›ÿ«Ÿ¾èîÝÍÝÍÝÍ´5ͽݽݽÞèîÿ¿ÿ¿ÿ¿Ä%¿ÏÿÏÿÏþèî¿«Ÿû©û½mÌù¬ÿœ¯Îèîþÿï©¿üÿïûÿɯïþþèîþÿ¹ÿûÍ­m­¼ÿùÏþþèîÏ©ûÿüÿÿïÿûÿüù¯¾èî©ßÿ›Êwzjwz¼ŸÿÙ®èîÿù¯üýßÿïÿÝûÿ©ÿþèîÿÿûÊŸù¯o©ÿš¼ÿÿþèîÿÿüÿÿÿûìÿÿÿûÿÿþèîÝÝÍÝÝÝÝíÝÝÝݽÝÞèìÝÝÝÝÝÝÝÝÝÝÝÝÝÝÛè""ýaÝøëaÜèîb¿bbïbbÏÿþèîbûbÿüëbÿübþèîbü¹­ÚŸošÝ©ËbþèîýÚŸûbÿïbüÿšÝþèîšbü¹wyiwyËbúžèî¿šüŸûÝýíýÜÿ›úŸÎèîþÿÊÿü¿ŸoŸËÿú¿þþèîþÿïšÏûýíüÿºŸïþþèîÏœ¯üšüÏo»ú›ÿ«Ÿ¾èîÝÍÝÍÝÍ´5ͽݽݽÞèîÿ¿ÿ¿ÿ¿Ä%¿ÏÿÏÿÏþèî¿«Ÿû©û½mÌù¬ÿœ¯Îèîþÿï©¿üÿïûÿɯïþþèîþÿ¹ÿûÍ­m­¼ÿùÏþþèîÏ©ûÿübïÿûÿüù¯¾èî©ßÿ›Êwzjwz¼ŸÿÙ®èîÿù¯üýßÿïÿÝûÿ©ÿþèîbûÊŸù¯o©ÿš¼bþèîbübÿûìbÿûbþèîÝÝÍÝÝÝÝíÝÝÝݽÝÞèìaÛè"
       .getBytes("cp1252")) { // Read bytes from the String, using CP-1252
    r = r                                    // r += doesn't work as expected here
        + m.charAt((b>>4) & 15)                // append first char
        + m.charAt(b & 15)                   // append second char
      ;
  }
  return r;
};

Java (JDK), 500 bytes

n->{String r="",m="ZZO+():-\n'.\\/_| ";for(int b:"ýaÝøëaÜèîÿÿ¿ÿÿÿÿïÿÿÿÿÏÿþèîÿÿûÿÿÿüëÿÿÿüÿÿþèîÿÿü¹­ÚŸošÝ©ËÿÿþèîýÚŸûÿÿÿïÿÿüÿšÝþèîšÿÿü¹wyiwyËÿÿúžèî¿šüŸûÝýíýÜÿ›úŸÎèîþÿÊÿü¿ŸoŸËÿú¿þþèîþÿïšÏûýíüÿºŸïþþèîÏœ¯üšüÏo»ú›ÿ«Ÿ¾èîÝÍÝÍÝÍ´5ͽݽݽÞèîÿ¿ÿ¿ÿ¿Ä%¿ÏÿÏÿÏþèî¿«Ÿû©û½mÌù¬ÿœ¯Îèîþÿï©¿üÿïûÿɯïþþèîþÿ¹ÿûÍ­m­¼ÿùÏþþèîÏ©ûÿüÿÿïÿûÿüù¯¾èî©ßÿ›Êwzjwz¼ŸÿÙ®èîÿù¯üýßÿïÿÝûÿ©ÿþèîÿÿûÊŸù¯o©ÿš¼ÿÿþèîÿÿüÿÿÿûìÿÿÿûÿÿþèîÝÝÍÝÝÝÝíÝÝÝݽÝÞèìaÛè".replace("a","Ý".repeat(14)).getBytes("cp1252"))r=r+m.charAt((b>>4)&15)+m.charAt(b&15);return r;}

Try it online!

unusedVariable -> {
  String r = "",                   // result buffer
         m = "ZZO+():-\n'.\\/_| ", // mapping
    ;
  for (int b :
     "ýÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝøëÝÝÝÝÝÝÝÝÝÝÝÝÝÝÜèîÿÿ¿ÿÿÿÿïÿÿÿÿÏÿþèîÿÿûÿÿÿüëÿÿÿüÿÿþèîÿÿü¹­ÚŸošÝ©ËÿÿþèîýÚŸûÿÿÿïÿÿüÿšÝþèîšÿÿü¹wyiwyËÿÿúžèî¿šüŸûÝýíýÜÿ›úŸÎèîþÿÊÿü¿ŸoŸËÿú¿þþèîþÿïšÏûýíüÿºŸïþþèîÏœ¯üšüÏo»ú›ÿ«Ÿ¾èîÝÍÝÍÝÍ´5ͽݽݽÞèîÿ¿ÿ¿ÿ¿Ä%¿ÏÿÏÿÏþèî¿«Ÿû©û½mÌù¬ÿœ¯Îèîþÿï©¿üÿïûÿɯïþþèîþÿ¹ÿûÍ­m­¼ÿùÏþþèîÏ©ûÿüÿÿïÿûÿüù¯¾èî©ßÿ›Êwzjwz¼ŸÿÙ®èîÿù¯üýßÿïÿÝûÿ©ÿþèîÿÿûÊŸù¯o©ÿš¼ÿÿþèîÿÿüÿÿÿûìÿÿÿûÿÿþèîÝÝÍÝÝÝÝíÝÝÝݽÝÞèìÝÝÝÝÝÝÝÝÝÝÝÝÝÝÛè"
       .getBytes("cp1252")) { // Read bytes from the String, using CP-1252
    r = r                                    // r += doesn't work as expected here
        + m.charAt((b>>4) & 15)              // append first char
        + m.charAt(b & 15)                   // append second char
      ;
  }
  return r;
};

Java (JDK), 494 bytes

n->{String r="",m="ZZO+():-\n'.\\/_| ";for(int b:"ýaÝøëaÜèîb¿bbïbbÏÿþèîbûbÿüëbÿübþèîbü¹­ÚŸošÝ©ËbþèîýÚŸûbÿïbüÿšÝþèîšbü¹wyiwyËbúžèî¿šüŸûÝýíýÜÿ›úŸÎèîþÿÊÿü¿ŸoŸËÿú¿þþèîþÿïšÏûýíüÿºŸïþþèîÏœ¯üšüÏo»ú›ÿ«Ÿ¾èîÝÍÝÍÝÍ´5ͽݽݽÞèîÿ¿ÿ¿ÿ¿Ä%¿ÏÿÏÿÏþèî¿«Ÿû©û½mÌù¬ÿœ¯Îèîþÿï©¿üÿïûÿɯïþþèîþÿ¹ÿûÍ­m­¼ÿùÏþþèîÏ©ûÿübïÿûÿüù¯¾èî©ßÿ›Êwzjwz¼ŸÿÙ®èîÿù¯üýßÿïÿÝûÿ©ÿþèîbûÊŸù¯o©ÿš¼bþèîbübÿûìbÿûbþèîÝÝÍÝÝÝÝíÝÝÝݽÝÞèìaÛè".replace("a","Ý".repeat(14)).replace("b","ÿÿ").getBytes("cp1252"))r=r+m.charAt(b>>4&15)+m.charAt(b&15);return r;}

Try it online!

unusedVariable -> {
  String r = "",                   // result buffer
         m = "ZZO+():-\n'.\\/_| ", // mapping
    ;
  for (int b :
     "ýaÝøëaÜèîb¿bbïbbÏÿþèîbûbÿüëbÿübþèîbü¹­ÚŸošÝ©ËbþèîýÚŸûbÿïbüÿšÝþèîšbü¹wyiwyËbúžèî¿šüŸûÝýíýÜÿ›úŸÎèîþÿÊÿü¿ŸoŸËÿú¿þþèîþÿïšÏûýíüÿºŸïþþèîÏœ¯üšüÏo»ú›ÿ«Ÿ¾èîÝÍÝÍÝÍ´5ͽݽݽÞèîÿ¿ÿ¿ÿ¿Ä%¿ÏÿÏÿÏþèî¿«Ÿû©û½mÌù¬ÿœ¯Îèîþÿï©¿üÿïûÿɯïþþèîþÿ¹ÿûÍ­m­¼ÿùÏþþèîÏ©ûÿübïÿûÿüù¯¾èî©ßÿ›Êwzjwz¼ŸÿÙ®èîÿù¯üýßÿïÿÝûÿ©ÿþèîbûÊŸù¯o©ÿš¼bþèîbübÿûìbÿûbþèîÝÝÍÝÝÝÝíÝÝÝݽÝÞèìaÛè"
       .getBytes("cp1252")) { // Read bytes from the String, using CP-1252
    r = r                                    // r += doesn't work as expected here
        + m.charAt(b>>4 & 15)                // append first char
        + m.charAt(b & 15)                   // append second char
      ;
  }
  return r;
};
9 edited body
source | link
8 added 57 characters in body
source | link

Java (JDK), 511835 bytes

n->{String r="",m="ZZO+():-\n'.\\/_| ";for(int b:"ýÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝøëÝÝÝÝÝÝÝÝÝÝÝÝÝÝÜèîÿÿ¿ÿÿÿÿïÿÿÿÿÏÿþèîÿÿûÿÿÿüëÿÿÿüÿÿþèîÿÿü¹­ÚŸošÝ©ËÿÿþèîýÚŸûÿÿÿïÿÿüÿšÝþèîšÿÿü¹wyiwyËÿÿúžèî¿šüŸûÝýíýÜÿ›úŸÎèîþÿÊÿü¿ŸoŸËÿú¿þþèîþÿïšÏûýíüÿºŸïþþèîÏœ¯üšüÏo»ú›ÿ«Ÿ¾èîÝÍÝÍÝÍ´5ͽݽݽÞèîÿ¿ÿ¿ÿ¿Ä%¿ÏÿÏÿÏþèî¿«Ÿû©û½mÌù¬ÿœ¯Îèîþÿï©¿üÿïûÿɯïþþèîþÿ¹ÿûÍ­m­¼ÿùÏþþèîÏ©ûÿüÿÿïÿûÿüù¯¾èî©ßÿ›Êwzjwz¼ŸÿÙ®èîÿù¯üýßÿïÿÝûÿ©ÿþèîÿÿûÊŸù¯o©ÿš¼ÿÿþèîÿÿüÿÿÿûìÿÿÿûÿÿþèîÝÝÍÝÝÝÝíÝÝÝݽÝÞèìÝÝÝÝÝÝÝÝÝÝÝÝÝÝÛè""ýaÝøëaÜèîÿÿ¿ÿÿÿÿïÿÿÿÿÏÿþèîÿÿûÿÿÿüëÿÿÿüÿÿþèîÿÿü¹­ÚŸošÝ©ËÿÿþèîýÚŸûÿÿÿïÿÿüÿšÝþèîšÿÿü¹wyiwyËÿÿúžèî¿šüŸûÝýíýÜÿ›úŸÎèîþÿÊÿü¿ŸoŸËÿú¿þþèîþÿïšÏûýíüÿºŸïþþèîÏœ¯üšüÏo»ú›ÿ«Ÿ¾èîÝÍÝÍÝÍ´5ͽݽݽÞèîÿ¿ÿ¿ÿ¿Ä%¿ÏÿÏÿÏþèî¿«Ÿû©û½mÌù¬ÿœ¯Îèîþÿï©¿üÿïûÿɯïþþèîþÿ¹ÿûÍ­m­¼ÿùÏþþèîÏ©ûÿüÿÿïÿûÿüù¯¾èî©ßÿ›Êwzjwz¼ŸÿÙ®èîÿù¯üýßÿïÿÝûÿ©ÿþèîÿÿûÊŸù¯o©ÿš¼ÿÿþèîÿÿüÿÿÿûìÿÿÿûÿÿþèîÝÝÍÝÝÝÝíÝÝÝݽÝÞèìaÛè".replace("a","Ý".repeat(14)).getBytes("cp1252"))r=r+m.charAt((b>>4)&15)+m.charAt(b&15);return r;}

Try it online!Try it online!

Thanks Kevin Cruijssen for golfing a few bytes, plus 6 bytes by changing Windows-1252 to cp1252., and to ASCII-only to compress the string a bit :)

Java (JDK), 511 bytes

n->{String r="",m="ZZO+():-\n'.\\/_| ";for(int b:"ýÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝøëÝÝÝÝÝÝÝÝÝÝÝÝÝÝÜèîÿÿ¿ÿÿÿÿïÿÿÿÿÏÿþèîÿÿûÿÿÿüëÿÿÿüÿÿþèîÿÿü¹­ÚŸošÝ©ËÿÿþèîýÚŸûÿÿÿïÿÿüÿšÝþèîšÿÿü¹wyiwyËÿÿúžèî¿šüŸûÝýíýÜÿ›úŸÎèîþÿÊÿü¿ŸoŸËÿú¿þþèîþÿïšÏûýíüÿºŸïþþèîÏœ¯üšüÏo»ú›ÿ«Ÿ¾èîÝÍÝÍÝÍ´5ͽݽݽÞèîÿ¿ÿ¿ÿ¿Ä%¿ÏÿÏÿÏþèî¿«Ÿû©û½mÌù¬ÿœ¯Îèîþÿï©¿üÿïûÿɯïþþèîþÿ¹ÿûÍ­m­¼ÿùÏþþèîÏ©ûÿüÿÿïÿûÿüù¯¾èî©ßÿ›Êwzjwz¼ŸÿÙ®èîÿù¯üýßÿïÿÝûÿ©ÿþèîÿÿûÊŸù¯o©ÿš¼ÿÿþèîÿÿüÿÿÿûìÿÿÿûÿÿþèîÝÝÍÝÝÝÝíÝÝÝݽÝÞèìÝÝÝÝÝÝÝÝÝÝÝÝÝÝÛè".getBytes("cp1252"))r=r+m.charAt((b>>4)&15)+m.charAt(b&15);return r;}

Try it online!

Thanks Kevin Cruijssen for golfing a few bytes, plus 6 bytes by changing Windows-1252 to cp1252. :)

Java (JDK), 835 bytes

n->{String r="",m="ZZO+():-\n'.\\/_| ";for(int b:"ýaÝøëaÜèîÿÿ¿ÿÿÿÿïÿÿÿÿÏÿþèîÿÿûÿÿÿüëÿÿÿüÿÿþèîÿÿü¹­ÚŸošÝ©ËÿÿþèîýÚŸûÿÿÿïÿÿüÿšÝþèîšÿÿü¹wyiwyËÿÿúžèî¿šüŸûÝýíýÜÿ›úŸÎèîþÿÊÿü¿ŸoŸËÿú¿þþèîþÿïšÏûýíüÿºŸïþþèîÏœ¯üšüÏo»ú›ÿ«Ÿ¾èîÝÍÝÍÝÍ´5ͽݽݽÞèîÿ¿ÿ¿ÿ¿Ä%¿ÏÿÏÿÏþèî¿«Ÿû©û½mÌù¬ÿœ¯Îèîþÿï©¿üÿïûÿɯïþþèîþÿ¹ÿûÍ­m­¼ÿùÏþþèîÏ©ûÿüÿÿïÿûÿüù¯¾èî©ßÿ›Êwzjwz¼ŸÿÙ®èîÿù¯üýßÿïÿÝûÿ©ÿþèîÿÿûÊŸù¯o©ÿš¼ÿÿþèîÿÿüÿÿÿûìÿÿÿûÿÿþèîÝÝÍÝÝÝÝíÝÝÝݽÝÞèìaÛè".replace("a","Ý".repeat(14)).getBytes("cp1252"))r=r+m.charAt((b>>4)&15)+m.charAt(b&15);return r;}

Try it online!

Thanks Kevin Cruijssen for golfing a few bytes, plus 6 bytes by changing Windows-1252 to cp1252, and to ASCII-only to compress the string a bit :)

7 -6 bytes thanks to Kevin Cruijssen by changing `Windows1252` to `cp1252`.
source | link
6 moved the string to the loop.
source | link
5 Skipped the loop!
source | link
4 added 49 characters in body
source | link
3 golfed 1 byte
source | link
2 added 1238 characters in body
source | link
1
source | link