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

提出 #117

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

提出 #117

wants to merge 5 commits into from

Conversation

Hikaru0221
Copy link

四問目なかなか考えました

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.

works.c が正しく動いていません.他は合ってます.

@@ -4,14 +4,54 @@ int n;
int k;
int A[100000];

int p(int index[],int mid){

Choose a reason for hiding this comment

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

原因は特定してないですが,
多くのケースで正しく動いてないです.
もう一度確認してみてください.

Copy link
Author

Choose a reason for hiding this comment

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

works.c修正しました。
例外処理が足りなかったのと恐らくerrorの回数が複数加算されることでエラーに分岐しなくなっていたのが原因と考えられます。
そのため一回pの中身を書き換えました。

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