Exit Status
http://golf.shinh.org/p.rb?exit+status
id:nattowさんに2byte抜かれた!これはもう縮まないと思ってたのに…。
92byteだったコードはこちら。
using C=System.Console;class P{static void Main(){C.Write(new int[]{0,255,1}[C.Read()&3]);}}
C#3.0ならnew int[]がいらないっぽいのになぁ。
ワカラン、ムリw
http://golf.shinh.org/p.rb?exit+status
id:nattowさんに2byte抜かれた!これはもう縮まないと思ってたのに…。
92byteだったコードはこちら。
using C=System.Console;class P{static void Main(){C.Write(new int[]{0,255,1}[C.Read()&3]);}}
C#3.0ならnew int[]がいらないっぽいのになぁ。
ワカラン、ムリw