类24点

123456789在这些数之间可以差如+,-,最后等于某个值的组合数 方法一:递归法 void f2(int index,int opt,int sum,int value,int &amp;count) { for(int i=index;i<=9;i++){ int t=0; for(int m=index;m<=i;m++) t=10*t+m; if(i==9){ sum=sum+opt*t; if(value==sum) count++; return ; } f2(i+1,1,...
数据结构 | 2014-07-07 19:08 | 阅读 1282 次 | 评论 0 条

my heart will go on

every night in my dreams i see you, i feel you, that is how i know you go on far across the distance and spaces between us you have come to show you go on near, far, wherever you are i believe that the heart does go on once more you open the door and you're here in my heart and my heart...
歌词 | 2014-07-07 18:56 | 阅读 918 次 | 评论 0 条
最新评论