seesaw.c: In function 'main':
seesaw.c:19:5: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | scanf("%zu", &n);
| ^~~~~~~~~~~~~~~~
seesaw.c:21:9: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
21 | scanf("%" PRId64, a + i), a[i] += a[i - 1];
| ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/ld: /tmp/ccDhQvZh.o: in function `main':
seesaw.c:(.text.startup+0x170): undefined reference to `compare_centers'
collect2: error: ld returned 1 exit status