Skip to content

Update 741.Cherry-Pickup.cpp - #111

Merged
wisdompeak merged 1 commit into
wisdompeak:masterfrom
lpcclown:patch-1
May 24, 2025
Merged

Update 741.Cherry-Pickup.cpp#111
wisdompeak merged 1 commit into
wisdompeak:masterfrom
lpcclown:patch-1

Conversation

@lpcclown

Copy link
Copy Markdown
Contributor

Move the assignment out of loop, avoid to call it multiple times. Confirmed that it can pass all the test cases.

@wisdompeak
wisdompeak merged commit 6561c82 into wisdompeak:master May 24, 2025
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