14 lines
278 B
C
14 lines
278 B
C
#include "morphisms.h"
|
|
|
|
int main(int argc, char* argv[]) {
|
|
if( argc > 1 ) {
|
|
uint64_t value;
|
|
demarshal( argv[1], &value );
|
|
|
|
uint64_t result = value * value;
|
|
|
|
char buf[256];
|
|
marshal( &result, buf );
|
|
printf("%s\n", buf);
|
|
}
|
|
}
|