| Problem | passwords |
|---|---|
| User | ForsakenPBJ |
| Submission Time | 2025-01-31 00:01:52 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
passwords.cpp: In function ‘int main()’:
passwords.cpp:54:96: error: expected primary-expression before ‘)’ token
54 | dsu.unite(unique_chars.begin() == unique_chars.end() ? *unique_chars.begin() - 'a':);
| ^
passwords.cpp:54:97: error: expected ‘}’ at end of input
54 | dsu.unite(unique_chars.begin() == unique_chars.end() ? *unique_chars.begin() - 'a':);
| ^
passwords.cpp:52:37: note: to match this ‘{’
52 | for (char c : unique_chars) {
| ^
passwords.cpp:54:97: error: expected ‘}’ at end of input
54 | dsu.unite(unique_chars.begin() == unique_chars.end() ? *unique_chars.begin() - 'a':);
|