diff options
| author | Miguel <m.i@gmx.at> | 2019-03-08 02:59:46 +0100 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2019-03-08 02:59:46 +0100 |
| commit | 1032941dff1b27fb0d2ad3b959b4c76af0410e7b (patch) | |
| tree | 9adf643eb99ac54db0351d7ea016398bcf1a962b /hask-io/mini.c | |
| parent | 76718c0ec3717c4f9e5b0f659ab829f4b92419d2 (diff) | |
update readme
Diffstat (limited to 'hask-io/mini.c')
| -rw-r--r-- | hask-io/mini.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/hask-io/mini.c b/hask-io/mini.c deleted file mode 100644 index eb5ba46..0000000 --- a/hask-io/mini.c +++ /dev/null @@ -1,14 +0,0 @@ -#include <stdio.h> -int main(){ - char buf[2048]; - int a=0; - while(1){ - size_t sz=fread(&buf,1,2048,stdin); - if(!sz)break; - for(size_t i=0;i<sz;i++){ - a+=buf[i]; - a%=256; - } - } - printf("%i\n",a); -} |
