Skip to content

提出#117

Open
Hikaru0221 wants to merge 5 commits intoalgd2022:mainfrom
Hikaru0221:main
Open

提出#117
Hikaru0221 wants to merge 5 commits intoalgd2022:mainfrom
Hikaru0221:main

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 が正しく動いていません.他は合ってます.

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