V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Darkside

今天做到一道有趣的算法题,分享一下,供大家赏玩

  •  
  •   Darkside · Oct 23, 2019 · 1037 views
    This topic created in 2386 days ago, the information mentioned may be changed or developed.

    题面见 paste.ubuntu.com/p/8pX48Btyt8/

    (提示:这其实是一道数学题,和某一类数有关系)

    (复杂度可以优化到 O(n))

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5882 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 60ms · UTC 02:00 · PVG 10:00 · LAX 19:00 · JFK 22:00
    ♥ Do have faith in what you're doing.