envoirnment
This commit is contained in:
15
thor.c
15
thor.c
@@ -1,8 +1,19 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
// run using gcc thor.c && ./a.out
|
||||
|
||||
int main(int argc, char **argv){
|
||||
printf("Hello, World!");
|
||||
return 0;
|
||||
if(argc != 2) {
|
||||
printf("enter one argument for n");
|
||||
return 1;
|
||||
}
|
||||
unsigned int n = atoi(argv[1]);
|
||||
printf("claculating number y of rotaionally asymmetric polycubes with n = %u ...\n", n);
|
||||
unsigned int y = rot_asy_polyc(n);
|
||||
printf("y = %u\n", y);
|
||||
return 0;
|
||||
}
|
||||
unsigned int rot_asy_polyc(n) {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user