Mercurial > repo
changeset 8717:c6950e84cb37
<\oren\> ` sed -e \'s/;putchar(a);/,/\' -i orenbow.c
author | HackBot |
---|---|
date | Tue, 05 Jul 2016 04:00:26 +0000 |
parents | ce0bfe6bd2a2 |
children | c547ac15165a |
files | orenbow.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/orenbow.c Tue Jul 05 03:58:43 2016 +0000 +++ b/orenbow.c Tue Jul 05 04:00:26 2016 +0000 @@ -1,2 +1,2 @@ #include <stdio.h> -int main(){int a,c=1;b:a=getchar();if(a==EOF)return 0;if(!(a&128)||(a&64))printf("\e[%d;1m","\37! $\"#"[c]);putchar(a);c=c+1-6*(c>4);goto b;} +int main(){int a,c=1;b:a=getchar();if(a==EOF)return 0;if(!(a&128)||(a&64))printf("\e[%d;1m","\37! $\"#"[c]),c=c+1-6*(c>4);goto b;}