Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Бассейн-8 count
i=1 While i < n do : j=i+1 count =0 While h(i) > h(j) and j <= n : If abs( h(i) - h(j)) < h_min : H_min =abs( h(i) - h(j)) count =j j += 1 s = s + min (h(i), h(j)) *count i += count
run
|
edit
|
history
|
help
0
How many letters?
Prova 1
Giu
a2
AR sredine
nomer3
Lab1SumWithFor
janja - popravek
Increase decrease
pdp32