Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提出 #173

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

提出 #173

wants to merge 4 commits into from

Conversation

tetsushi33
Copy link

No description provided.

@tetsushi33 tetsushi33 closed this Jun 28, 2022
@tetsushi33 tetsushi33 reopened this Jun 28, 2022
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 が正しく動いていません.

scanf("%d", &A[i]);
A_sum = A_sum + A[i];
}
lb = A_sum / k;//バッグのサイズは、(リンゴの総和/バッグの数)を下回らない

Choose a reason for hiding this comment

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

リンゴの総和 = バッグの数の時など危ないのでは.
3 3
1 1 1とか.
(入力に依存しない初期値でokです.)


#define N 1000000000;//槍の長さの最大値は木の長さの最大値

Choose a reason for hiding this comment

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

初期値が不適切です.

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