Git Product home page Git Product logo

indeedtokyowebtest2018's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

indeedtokyowebtest2018's Issues

第一场网测D的问题

想了想,感觉第一场网测D问题你的这个做法不对。
一个是你的第二维数组应该也开到50以上,否则T的最大长度是50,会炸。
更关键的是你没有考虑类似T=“cacb”,S="cacacb"这种情形。
比如N=6,T=“cacb”的情况下,"cacacb"这个子串会偷渡。
现在找到的解法是可以用AC自动机+DP,参考POJ1625。
但是感觉这个只有一个目标串,使用AC自动机未免有些大材小用。不知道能不能仍然使用简单DP解决这个问题?
附上一个数据:
6
cacb
308913748
308913749(你的结果)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.