foo.c: In function 'main':
foo.c:14:3: warning: implicit declaration of function 'scanf_s' [-Wimplicit-function-declaration]
scanf_s("%d",a[i]);
^~~~~~~
foo.c:28:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int *' [-Wformat=]
printf("%d",a);
^
foo.c:10:26: warning: unused variable 'tili' [-Wunused-variable]
int n, a[100000], t,i,j,tili;
^~~~
/tmp/cclJkbyl.o: In function `main':
foo.c:(.text.startup+0x4a): undefined reference to `scanf_s'
collect2: error: ld returned 1 exit status
自豪的采用jd5进行评测(github.com/masnn/jd5)