Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:过的同学能给看看这段代码为什么WA吗?很短In Reply To:Re:过的同学能给看看这段代码为什么WA吗?很短 Posted by:YA_ME_DE at 2009-04-27 14:03:00 > 还是没搞懂RK为什么一定要初始化 > > 比如 > 如果字符串只可能为小写字母组成,则acm就对应到0×26^2+2*26+12 > > 那如果不初始化的话,它不也可以对应 > > 0*26^0+2*26^1+12*26^2吗?这样也是26进制数一一对应的啊 不一定都是小写字母 可能有别的字符 Over Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator