Topcoder SRM 596 DIV 1
摘要:
250IncrementAndDoublingclass IncrementAndDoubling { private: int n; int a[55]; bool ok(){ for (int i=0;i desiredArray) { int res=0; n=sz(desiredArray); for (int i=0;i<n;i++) a[i]=desiredArray[i]; while (!ok()){ res+=check(); ... 阅读全文
posted @ 2013-11-21 12:31 电子幼体 阅读(132) 评论(0) 推荐(0) 编辑