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 / evidence / UNIVERSAL-622 / first-import / cold-replay / C-cases / oracle-29.c
| 1 | #include <stdint.h> |
| 2 | uint64_t calc(uint64_t a, uint64_t b) { return (a+a)*(b+b); } |
| 3 | |
| 4 | #include <stdio.h> |
| 5 | #include <inttypes.h> |
| 6 | int main(void){ |
| 7 | uint64_t x[6]={0};while(scanf("%" SCNu64 " %" SCNu64 "",&x[0],&x[1])==2)printf("%" PRIu64 "\n",calc(x[0],x[1]));return 0;} |