foo.c:2:8: warning: return type of 'main' is not 'int' [-Wmain]
void main(){
^
foo.c: In function 'main':
foo.c:5:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
foo.c:8:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-05-13T09:08:00.979Z","handle":"2020-05-13T09:08:00.979Z","cache_start":"2020-05-13T09:08:00.987Z","read_cases":"2020-05-13T09:08:01.107Z","judge":"2020-05-13T09:08:01.109Z","done":"2020-05-13T09:08:01.196Z"}