Closed kitsuya0828 closed 1 year ago
遅くなってごめん.
UIはイメージしていたとおりで,完璧です
いくつか修正点:
Uncaught ReferenceError: MathJax is not defined at startGame (main.js:53:5)
が出る. startGame
を呼び出す時点では MathJax の準備が終わっていない? HTML の方で, MathJax をロードしているタグの async 属性を外せばいいのかもあと,antsの方をmainにマージしたので,gridにもマージをお願いします
@sotanishy
あれ、答え合わないですかね...? (気づかずに→か↓の2択で $5\times2-2$ 回だけbit全探索しているので答えは一致しているはず...?)
確かにDPを使った方が良いと思ったのでコメントアウトしてDP解法に修正しました。 これでも答えが合わなかったら、僕の問題理解力に問題があるかもしれないです🥹
ans が undefined になっています笑
ごめんなさい、コメントアウトしすぎてました笑
答え合った,完璧です
あとは,問題文に「動けるのは右と下だけ」というのを明記してほしいのと,mainの変更をマージするのだけやってもらえればOKです
完了しましたー
みました!ありがとう
ほぼ完成してます