即日起在codingBlog上分享您的技术经验即可获得积分,积分可兑换现金哦。

IOCCC

编程语言 Y673582465 22℃ 0评论

例一:

int i;
void main()
{
    for( ;  i[ "] ];  read('-'-'-',  i+++"hello, world!\n",  '/'/'/') );

}
read(j,i,p)
{ 
    write(j/p+p, i---j, i/i);
}

//解读:
int i;
main()
{
  for( i=0; i"hello, world!\n"); i++)
  {
    read( 0, & "hello, world!\n"[i], 1);
  }
}
read( j, i, p)
{
  write( j/p + p, // 0/1 + 1  == 1 == STDOUT 
         i-- - j, // == i itself due to j == 0; 
                  // -- is POST-decrement and does not affect the calculation
         i/i /*== 1 as long as i != 0  - meaning print only single character*/ );
}

转载请注明:CodingBlog » IOCCC

喜欢 (0)or分享 (0)
发表我的评论
取消评论

*

表情