Skip to content

fix the hot potato simulation (wrong length was used for string array) - #1159

Merged
pearcej merged 1 commit into
pearcej:masterfrom
wrigjl:fix-hot-potato
Oct 7, 2026
Merged

pearcej merged 1 commit into
pearcej:masterfrom
wrigjl:fix-hot-potato

Conversation

@wrigjl

@wrigjl wrigjl commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

Description

given, string s[], s->length() is s[0].length()... so, switch to using a vector

This change looks worse than it really is mainly because of the switch from array to vector means updating the wording.

Related Issue

standalone

How Has This Been Tested?

unit tests, local build

given, string s[], s->length() is s[0].length()...
so, switch to using a vector
@pearcej

pearcej commented Oct 7, 2026

Copy link
Copy Markdown
Owner

A vector seems a much better choice in any case.

@pearcej
pearcej merged commit 5e3c300 into pearcej:master Oct 7, 2026
2 checks passed
@wrigjl
wrigjl deleted the fix-hot-potato branch October 7, 2026 17:10
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