foo.cc: In function 'int main()':
foo.cc:17:17: error: elements of array 'main()::stndent s [100]' have incomplete type
struct stndent s[N],t;
^
foo.cc:17:17: error: storage size of 's' isn't known
foo.cc:17:22: error: aggregate 'main()::stndent t' has incomplete type and cannot be defined
struct stndent s[N],t;
^
foo.cc:37:10: error: unable to find string literal operator 'operator""s' with 'const char [20]', 'long unsigned int' arguments
printf("%-8d%-8s%-8c%-8.0f\n"s[i].num,s[i].name,s[i].sex?'M':'F',s[i].score);
^~~~~~~~~~~~~~~~~~~~~~~
foo.cc:40:1: error: expected ';' before '}' token
}
^
[Hydro](https://hydro.ac)提供评测服务