Open
Conversation
Contributor
|
こんにちは。 |
Author
|
了解 |
yoidea
reviewed
Jul 11, 2023
pages/quadratic-equation.tsx
Outdated
|
|
||
| const filteredAnswers = parsedIntAnswers.filter(answer => answer !== null) as number[] | ||
|
|
||
| if (answers.some(answer => filteredAnswers.includes(answer))) { |
Member
Author
There was a problem hiding this comment.
順序を無視して採点する為に どちらかが正解なら通すようにしてしまってますね…
他の採点方法に切り替えます
Member
There was a problem hiding this comment.
pages/quadratic-equation.tsx
Outdated
| 解を求めよ | ||
| </MathJax.Provider> | ||
| <div> | ||
| <input className={styles.textbox} placeholder="x1 , x2" type="text" value={ans} onChange={(e) => { setAns(e.target.value) }} inputMode="numeric"/> |
Member
Author
|
修正点 |
Member
|
@EdamAme-x ラムダのコメントに基づいて、こちらのPRを以下のように変更してもらうことは可能でしょうか?
また、今回実装した分は素晴らしいものでそのまま捨てるのはもったいないと思っています。
|
Author
|
なるほど。 そろそろ寝るので申し訳無いです。 |
Member
|
ありがとうございます。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


前回のPRにて指摘された内容を参考にし、修正。
API等の型定義は、H-gotoさんの
リファクタリングにより解決していただきました。