lastwinner 发表于 2017-2-24 11:14 会造成回路的吧
使用道具 举报
newkid 发表于 2017-2-24 06:16 ---- 素数表 create table p (n number);
lastwinner 发表于 2017-2-24 11:58 2003是质数,并按规则,这不可能成为2的亲戚,然而res中并未wm>0的数字里并没有它(1003是合数,=17*59)
newkid 发表于 2017-2-24 12:59 select * from res where n=2003; WM N
〇〇 发表于 2017-2-24 13:51 and substr(s2,length(rtrim(s2-s1,'0'))-length(s2-s1)-1,1)>substr(s1,length(rtrim(s2-s1,'0'))-lengt ...
lastwinner 发表于 2017-2-24 14:27 这段其实可以简化为 and substr(p2.n,-length(p2.n-p1.n),1) >substr(p1. ...
lastwinner 发表于 2017-2-24 15:03 第一轮的结果我认为是 —————————————————————————————————————— ...
本版积分规则 发表回复 回帖后跳转到最后一页