奇摩知識+
範例輸入:10 10 0 1 0 0 0 0 0 1 0 01 1 1 0 0 0 1 1 0 00 1 0 0 0 0 1 1 1 00 0 1 0 0 0 0 1 1 00 0 0 0 0 0 0 0 0 00 0 0 0 1 1 0 0 0 00 0 0 0 1 1 0 0 0 00 0 0 0 1 1 0 0 0 00 0 0 1 0 0 0 0 0 00 1 1 1 0 0 0 0 0 03 21 10 11 0範例輸出:6 8 104/**********************************************...