V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  xsonglive491  ›  全部回复第 3 页 / 共 3 页
回复总数  41
1  2  3  
你直接判断 beg 是否是正整数就行了,(2*sum/num-num+1)为大于 0 的偶数
1  2  3  
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2729 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 10ms · UTC 05:54 · PVG 13:54 · LAX 22:54 · JFK 01:54
♥ Do have faith in what you're doing.