TSG(æ±å¤§ã³ã³ãã¥ã¼ã¿ãµã¼ã¯ã«)ã§è¡ããã¦ããEsolangã³ã¼ãã´ã«ã大ä¼ãï¼ã¾ããã¨è¼¸å ¥ãã¦KMCé¨å ã§ãéå¬ãã¾ããï¼ æ¥ç¨ã¯2019-03-29ãã 2019-04-03ã§è¡ãã¾ããï¼ ãã®æ§åãå®æ³ãã¾ãï¼
åè¨èªãã¨ã®æçµæåºã®è§£èª¬ã¯ãã¡ãã§ã: github.com
- åé¡ãã·ã¹ãã ã¯å ¨ã¦TSGããã®ãã®ããåããã¦ãã¾ãï¼
- ãµã¤ã(éç): http://esolang-0.wass80.xyz/contests/komabasai2018-day1/
- ã«ã¼ã«:
- åå è ã¯èµ¤ã¨éã®ãã¼ã åããã¦è¨èªã®é£åããè¡ãï¼
- èªåã®ãã¼ã ã®é£ã«4è¿åã§é£æ¥ãã¦ããé£ã®è¨èªã«æåºãã§ããï¼
- ãã§ã«åããã¦ããé£ãåãè¿ãããã«ã¯ï¼ããçãã³ã¼ããæåºããï¼
- èªåã®ãã¼ã ã®æåºã³ã¼ãã¯è¦ãããï¼ç¸æãã¼ã ã®æåºã³ã¼ãã¯è¦ããªãï¼
- åé¡æ¦è¦: hã¨wãåãåã£ã¦
*
ãããªãé·æ¹å½¢ãåºåããï¼
1æ¥ç®
- ã·ã¹ãã ãè¨ç½®ããï¼
- TSGã§ã¯ãã大ä¼ã ã£ãã®ã§14è¨èªã ã£ããï¼ä»åã¯8è¨èªæ´ã«å¢ããã¦ãããï¼
- åå ããã人ã¯ãã¤ã§ãåå ã§ããããã«ããï¼ãã¼ã ã¯é©å½ã«å²ãæ¯ãããï¼
æåã«Cè¨èªã§ACãããéãã¼ã ã®ã³ã¼ã (140B):
#include<stdio.h> w,h,y=0,x;main(){scanf("%d\n%d",&h,&w);for(;y++<h;){printf("*");for(x=0;x<w-2;x++)printf(y>1&y<h?" ":"*");printf("*\n");}}
ãã®æ¥ã®ãã¡ã«èµ¤ãã¼ã ãåãè¿ã (101B):
y,i,j;main(x){for(scanf("%d%d",&y,&x);i<y;puts(""),++i)for(j=0;j<x;++j)printf(j%~-x&&i%~-y?" ":"*");}
両è ç´ æ´ãªäºéã«ã¼ãã«ããå®è£ ãè¡ã£ã¦ããï¼
2æ¥ç®
- æã£ãããåå 人æ°ãå¢ããã®ã§12è¨èªå¢ããï¼
- é£è§£è¨èªã足ããªãæ°ãããã®ã§ï¼ Evilï¼ Unreadableï¼Malbolgeã追å ããï¼
- æåºå¯è½ãªé£ã4è¿åãã8è¿åã«å¢å ï¼ããã«ãããã®ç¸ã¯å対å´ã«ã¤ãªããããã«ï¼
- åå è ã¯11人
éãã¼ã ãCè¨èªãåãè¿ã (99B):
i,w;main(h){scanf("%d%d",&h,&w);for(i=++w*h;i--;)putchar(i%w<w-1&i%w>1&i/w<h-1&&i/w?32:i%w?42:10);}
赤ãã¼ã ãæ´ã«åãè¿ã (94B):
y,i,j;main(x){for(scanf("%d%d",&y,&x);j<x||(j=puts(""),++i<y);)putchar(j++%~-x&&i%~-y?32:42);}
æ°å¼ãç¨ãããã¨ã§1éã«ã¼ãã«ããå®è£ ãè¡ããã¨ã«ä¸¡ãã¼ã ã¨ãæåãã¦ããï¼
3æ¥ç®
- åå è
ãã¾ã ã¾ã å¢ããã®ã§ï¼è¨èªã13è¨èªå¢ãããï¼
- ããã§å½åã®åã®ããããµã¤ãºã«ãªã£ãï¼
- çãä¸ã®è¨èªãä½ã«ãããæ©ãã ãï¼äº¬å¤§ã¨ãããã¨ã§Schemeã«ããï¼
- éãã¼ã ã¯è¨èªå
ã§ä»ã®è¨èªã使ãå§ããï¼
- ãªã§ããã¯JSãå®è¡ãï¼Emojicodeã¯perlãå®è¡ããããã«ãªã£ãï¼
ã¾ãéãã¼ã ãCè¨èªãåãè¿ã (90B):
main(w,h,i){scanf("%d%d",&h,&w);for(i=++w*h;i--;)putchar(~i%w/3&~(i/w)%h/2?32:i%w?42:10);}
赤ãã¼ã ãã¾ãæ´ã«åãè¿ã (89B):
y,i;main(x){for(scanf("%d%d",&y,&x),i=++x*y;i--;)putchar(i%x?-~i%x>2&&i/x%~-y?32:42:10);}
4æ¥ç®
- ã©ãã©ãåã¾ã£ã¦ãããã¼ãï¼
- ãããã¯ã¼ã¯ã«æ¥ç¶ãã¦åé¡ã解ããã¨ãç¦æ¢ããï¼
$_=<>.<>;s/\s//;exec "wget -O- xxx.jp/$_"
ãperlã®çãã«ãªã£ã¡ããã®æ²ããã®ã§ãããªã£ãï¼
éãã¼ã æ´ã«æåº (88B):
c;i;main(w,h){for(scanf("%d%d",&h,&w);!i++?i=~w,h--:putchar(!i?c=10:i%w/2*h*c?32:42););}
赤ãã¼ã ãæåº (87B):
y,i;main(x){for(scanf("%d%d",&y,&x),x++;i<y*x;)putchar(i++%x?i%x>2&&i/x%~-y?32:42:10);}
5æ¥ç®
- å
¨ã¦ã®å
¥åã«å¯¾ãã¦æ£å¸¸ã«åä½ãããã¨ãè¦æ±ããï¼
- å ¥åãå¶æ°ã®å ´åã ãã¨ãï¼ç´ æ°ã®å ´åã ãã¨ãã§åãã³ã¼ããåå¨ããï¼
éãã¼ã ãCè¨èªã«æåºï¼ãããæçµæåºã¨ãªã (86B):
h;c;i;main(w){for(scanf("%d%d",&h,&w);h;putchar(++i%w/2*c?32:i>w?c=--h-1,i=0,10:42));}
æçµæ¥
- Malbolge以å¤ã®ãã¹ã¦ã®è¨èªãåã¾ãï¼
- Malbolgeã¯æåºã³ã¼ããµã¤ãºä¸éã«åã¾ãã³ã¼ããåå¨ããªãã¨æãããï¼
- cmd.exeã¯åºåã®æ¹è¡ã³ã¼ããã©ããã¦ã\r\nã«ãªã£ã¦ãã¾ãACã§ããªãã£ãã®ãï¼ã·ã¹ãã å´ã§ä¿®æ£ããï¼
çµæ
éãã¼ã ã®åå©ã¨ãªãã¾ããï¼
æçµçã«åå è ã¯22人ï¼åè¨ACæ°ã¯442åã§ããï¼ ããããã®åå ãããã¨ããããã¾ããï¼
è¨èªãã¨ã®è§£èª¬ã¯ãã¡ããèªãã§ãã ãã: github.com
大ä¼ã·ã¹ãã ãä½ã£ã¦ãã ãã£ã¦ããhakatashiããã«æè¬ãã¾ãï¼ github.com
ããã¸ãçãä¸ãã£ãã®ã§ï¼ã¾ãéå¬ãããã§ãï¼