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:34Andrew EpsteinAndrew EpsteinScore: 124,453Success
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:36123,9383,718,167,8584,150,437,00044,574,0002,326,528stderr
2Oct 31, 2026 04:36123,9903,719,714,3324,152,974,00043,454,0002,322,432stderr
3Oct 31, 2026 04:36124,2233,726,694,2454,161,364,00044,018,0002,314,240stderr
4Oct 31, 2026 04:36124,2443,727,326,9864,152,447,00045,593,0002,322,432stderr
5Oct 31, 2026 04:36124,4533,733,597,0604,163,058,00042,643,0002,322,432stderr
6Oct 31, 2026 04:36124,4703,734,126,0694,169,015,00042,300,0002,322,432stderr
7Oct 31, 2026 04:36124,6403,739,227,6564,171,607,00045,900,0002,314,240stderr
8Oct 31, 2026 04:36124,6673,740,016,8024,177,176,00045,471,0002,322,432stderr
9Oct 31, 2026 04:36124,9953,749,873,6444,177,970,00045,089,0002,207,744stderr