This commit is contained in:
Barrett Ruth 2025-08-22 12:09:57 -05:00
parent 59d8a872b6
commit 2a8ecba5b9
67 changed files with 2648 additions and 15 deletions

View file

@ -82,6 +82,9 @@ void solve() {
string s;
cin >> s;
ve<int> last(26, -1);
for (uint32_t j = 1; j > -1; ++j) {
}
for (int i = 0; i < n; ++i) {
int x = s[i] - 'a';
if (last[x] != -1) {