More than 5 years have passed since last update.
puts(~0) #=>-1
Register as a new user and use Qiita more conveniently