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-32.c
| 1 | #include <stdint.h> |
| 2 | uint64_t calc(uint64_t a,uint64_t b,uint64_t c,uint64_t d,uint64_t e,uint64_t f) { return a+b+c+d+e+f; } |
| 3 | |
| 4 | #include <stdio.h> |
| 5 | #include <inttypes.h> |
| 6 | int main(void){ |
| 7 | uint64_t x[6]={0};while(scanf("%" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64 "",&x[0],&x[1],&x[2],&x[3],&x[4],&x[5])==6)printf("%" PRIu64 "\n",calc(x[0],x[1],x[2],x[3],x[4],x[5]));return 0;} |