这样的学习方法效率高吗?
另外,summer的internship一般什么时候开始找啊?
菜鸟先谢过各位大牛了.
::D, P + 1>::DIG; }; ::D, P + 1>::DIG; }; ::D, P + 1>::DIG; }; ::D, P + 1>::DIG; }; to calculate ::D, P + 1>::DIG; }; ::D, P + 1>::DIG; }; //Use Diff ::D, P + 1>::DIG; };
template
//////////// State 6: VI LX DC This state can be merged with II
template
template
//////////// State 4: IV XL CD, Note it is different from 9 as it ends with
V. So the odd/even is opposite for Diff
template
2, Diff
template
//////// State 3: III XXX CCC MMM
template
/////// State 2: II XX CC MM
template
template
////////////// State 5: V L D
template
const static int DIG = ID
State::I - ID
///////////////State 1: I X C M ; Look into Diff
what Difference the next stage is facing.
template
template
template
on purpose for situation XL;
template
///////////////////////
const int R2I::DIG = State
const int R2I::OUT = DIG > 0 ? DIG : 0;
using namespace std;
int main()
{
char carr[R2I::OUT];
cout << sizeof(carr) << endl; ///Compile time constant.
cout << R2I::OUT << endl; ///The OUTPUT of the INPUT R2I::IN
}
【在 y**********u 的大作中提到】
: > : 比如做int到roman number的库函数叫string LC12(int);
: 之前做的几道roman number,大家放松一下:
: http://poj.org/problem?id=3562
: http://poj.org/problem?id=3353
: http://poj.org/problem?id=1213
: http://poj.org/problem?id=3448
: http://poj.org/problem?id=1588
: 加油