Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
|
|
@ -0,0 +1,10 @@
|
|||
s = [1, 2, 2, 3, 4, 4, 5]
|
||||
|
||||
for i in 0..6
|
||||
curr = s[i]
|
||||
$prev
|
||||
if i>0 and curr==$prev then
|
||||
puts i
|
||||
end
|
||||
$prev = curr
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue