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 |
My solve开始忘了调用Build_Ac()函数居然过了测试数据-_-\\,搞的我兴奋了一阵,接着就是wa! 后来测了一下 2 3 AG CG ==48 发现答案不多,原来是构造矩阵出错了。 搞了几组数据,用手算了下,嗯!对了!交,还是wa! 来组大点的数据! 10 100 AGAGAGT CGTATTG AAAATTTCGC GCGTA TCGA AATTGGA TAGATAGC AGCGTATT TTCGA TACGTATTG 答案居然是负的-_-\\我的个天啊,居然忘了__int64!!!!!!!! 改成__int64,就AC了。 要断网了,思想明天说下! PS: http://hi.baidu.com/%D2%D5%C1%D6010/blog/item/6db06ccf0a3b440993457e7b.html Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator