第一行:最多允許粘貼的郵票張數(shù)N;(1≤N≤100)
第二行:郵票種數(shù)M;
第三行:空格隔開的M個(gè)數(shù)字,表示郵票的面值Xi。注意:Xi序列不一定是大小有序的!
10 5 2 4 6 8 10
0
________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________