Skip to content

Conversation

nulltou
Copy link

@nulltou nulltou commented Jun 28, 2022

git addをし忘れていることに気が付かず悪戦苦闘していたら時間を少し過ぎてしまいました...。
完全に自己責任でありおこがましいことは承知ですが、採点していただけると嬉しいです。

Copy link

@nanashima nanashima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apple.c spear.c が正しく動いていません.
また,works.c の初期値が改善できます(課題文を参照してください).

src/apple.c Outdated
scanf("%d", &A[i]);
}

lb = -1;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

初期値を改善できます.
これだと最悪pで0割りが起こります.

src/spear.c Outdated
}

lb = -1;
ub = 1e9;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lb ub共に見直しましょう.

src/works.c Outdated
scanf("%d", &A[i]);
}

lb = -1;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

改善できます.

@nulltou
Copy link
Author

nulltou commented Aug 9, 2022

修正しました

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants