摘要:
题意 给定一个进制分数 求是否是循环小数,且求出循环节长度 题解 暴力 il int find(int p){ int head=last[p%mod]; while(head&&pr[head].p!=p)head=pr[head].next; if(!head)head=++siz; return head; } int main(){ ... 阅读全文
posted @ 2016-08-31 20:26
zhouyis
阅读(530)
评论(0)
推荐(0)
浙公网安备 33010602011771号