You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
343 B
25 lines
343 B
#include <stdio.h>
|
|
|
|
#include <input.h>
|
|
|
|
extern int part1(uint64_t* restrict);
|
|
extern int part2();
|
|
|
|
int main()
|
|
{
|
|
register int r=0;
|
|
#ifdef _PART1
|
|
uint64_t p1;
|
|
if( (r = part1(&p1)) ) return r;
|
|
#ifdef DEBUG
|
|
printf("[1] >>> %lu\n", p1);
|
|
#else
|
|
printf("%lu\n", p1);
|
|
#endif
|
|
#endif
|
|
#ifdef _PART2
|
|
if( (r = part2()) ) return r;
|
|
#endif
|
|
return r;
|
|
}
|