用gets()會跑出CE(如下)
/6949576/code_6949576.cpp: In function ‘int main(int, char**)’: /6949576/code_6949576.cpp:32:2: error: ‘gets’ was not declared in this scope gets(s), gets(list); ^~~~ /6949576/code_6949576.cpp:32:2: note: suggested alternative: ‘fgets’ gets(s), gets(list); ^~~~ fgets