Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はこのspoj問題を解決しようとしてい ますhttp://www.spoj.pl/problems/ZUMA
可能なdp状態を見つけることができません。
誰かが私にこの問題の可能なdp状態を教えてもらえますか?
私はすでにSPOJでその問題を受け入れました。私の状態は、positionからiequals要素までです。移行については、次の 2 つのケースを考慮する必要があります。jp
i
j
p
i+1
q
q-1