loom-benchmark-mbpp / 162 /instruction.md
sqy201x's picture
Add files using upload-large-folder tool
0e69e56 verified
|
Raw
History Blame Contribute Delete
132 Bytes

MBPP 162

Write a function to calculate the sum (n - 2*i) from i=0 to n // 2, for instance n + (n-2) + (n-4)... (until n-x =< 0).