foo.cc: In function 'int main()':
foo.cc:22:64: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[20]' [-Wformat=]
scanf("%d%s%lld%d",&s[i].id,&s[i].name,&s[i].phone,&s[i].secs);
~~~~~~~~~~ ^
foo.cc:22:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%s%lld%d",&s[i].id,&s[i].name,&s[i].phone,&s[i].secs);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务