共一行,有兩個用空格隔開的整數(shù)n,m(3< =n< =30,1< =m< =30)。
數(shù)據(jù)規(guī)模和約定 100%的數(shù)據(jù)滿足:3< =n< =30,1< =m< =30
3 3
2