摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=2099#include <stdio.h>#include <list>using namespace std;int main(){ int a,b; while(scanf("%d%d",&a,&b)!=EOF){ if(a==0&&b==0) return 0; list<int> L; int i,j; for(i=0;i<=9;i++) for(j=0;j<=9;j++) ... 阅读全文