Printf "%#o\n", -1

e$B0J2<$N$h$&$Ke(B printf e$B$Ge(B %#o e$B$Ke(B -1 e$B$rM?$($k$He(B 0…7
e$B$K$J$j$^$9!#e(B

% ./ruby -ve ‘printf “%#o\n”, -1’
ruby 1.9.0 (2008-01-24 revision 0) [i686-linux]
0…7

8e$B?J?t$Ge(B -1 e$B$re(B 8e$B$NJd?t$H$7$FI=8=$9$k$He(B 7
e$B$,$:!<$C$H>e0L$N7e$Ke(B
e$BB3$$$F$$$k$N$G!"e(B0 e$B$,F,$K$D$/$N$OJQ$J$s$8$c$J$$$G$7$g$&$+!#e(B

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs