pastebin
Add a new paste
View all pastes
Change language
Dutch
English
French
Russian
menu
URL Shortener
Multiple URL shortener
browser info
Whois IP and domain lookup
Capture a Website screenshot
Disqus Chatroom
Registration
pastebin
Paste Search Dynamic
Recent pastes
person check
4 hours ago
node add
4 hours ago
ZonedDateTime
4 hours ago
nid
4 hours ago
lowestCars highestCars
4 hours ago
Entity id
4 hours ago
binkey
4 hours ago
node access
4 hours ago
node comment
4 hours ago
FastCode
4 hours ago
gets chomp
tc=
gets
.
chomp
.
to_i
tc.
times
{
a=
gets
.
chomp
.
split
(
" "
)
.
collect
{
|x| x.
to_i
}
a.
delete_at
(
0
)
b=a.
combination
(
2
)
.
to_a
.
collect
{
|y,z| y+z
}
c=b.
combination
(
2
)
.
to_a
.
collect
{
|e,f|
(
e-f
)
.
abs
}
puts
c.
min
}
Parsed in 0.003 seconds