Unique strings v2 Sergey Svistunov

Same problem as Unique strings, but with 3 CPUs available and scoring based on wall time instead of CPU time.

Count the exact number of unique tokens as fast as possible.

Input

One token per line on STDIN:

JWXcKKaWzvFL5
Rof
3ztCpA
5wHcGN
*UiEMthaTS*g

Output

Print the exact count of unique tokens to STDOUT.

Constraints

  • Character set: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@#%*
  • Maximum token length: 16
  • Approximately 1,000,000 unique tokens
Back to listOct 31, 2026 04:06Andrew EpsteinAndrew EpsteinScore: 124,470Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 31, 2026 04:16123,9303,717,900,7654,147,678,00043,519,0002,322,432stderr
2Oct 31, 2026 04:16123,9363,718,109,8204,139,971,00044,760,0002,322,432stderr
3Oct 31, 2026 04:16124,0123,720,373,4534,153,196,00041,920,0002,322,432stderr
4Oct 31, 2026 04:16124,2273,726,839,3024,148,411,00046,950,0002,326,528stderr
5Oct 31, 2026 04:16124,4703,734,119,5384,160,643,00045,254,0002,207,744stderr
6Oct 31, 2026 04:16124,7773,743,311,1204,175,914,00044,235,0002,322,432stderr
7Oct 31, 2026 04:16126,1913,785,758,4414,215,138,00046,923,0002,322,432stderr
8Oct 31, 2026 04:16127,5253,825,764,9374,248,052,00042,777,0002,322,432stderr
9Oct 31, 2026 04:16131,4363,943,086,9984,359,253,00044,170,0002,211,840stderr