Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

/prog/ challenge

Name: Anonymous 2018-10-29 20:43

Create an algorithm that will infinitely compress any data.

Name: Anonymous 2018-10-30 0:24

while(true)
compress("any data")

Name: Anonymous 2018-10-30 7:20

#include <stdio.h>

int main(int argc, char **argv){
printf("\x22"); //infinite lossy compression - compresses any data to one byte which is also dubs
}

Name: Anonymous 2018-11-01 0:43

int compress(char *input) {
return !strcmp(input, "any data") ? 1 : 0;
}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List