#39121: 本題技巧與注意事項


huangshiyu0318@gmail.com (4yu)


這題用到 stringstream

注意事項:

  • 記得要 cin.ignore()
  • 記得判斷軌道數是否 > 1
  • 記得判斷頭尾是否能相連