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
omega-mv / tests / one_layer / generalization / dev / tasks / cases / devgen04 / prompt
| 1 | Write a function even_tri_odd_cube that takes an unsigned 16-bit number n and returns an unsigned 64-bit |
| 2 | number. If n is even, return the sum 1 + 2 + ... + n, adding the numbers one at a time (0 when n is 0). |
| 3 | If n is odd, return n*n*n - 2*n + 5. It never traps. |