interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / tests / one_layer / generalization / dev / tasks / cases / devgen09 / prompt

3 lines · 275 bytes Raw Blame History
1Write a function pair_sum_div that takes unsigned 8-bit numbers n and k and returns an unsigned 32-bit
2number: how many pairs (i, j) with 1 <= i < j <= n have i + j divisible by k (remainder 0). For every
3input checked k is at least 1. It never traps for the inputs checked.