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 03:56Andrew EpsteinAndrew EpsteinScore: 124,771Success
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 03:57124,3243,729,737,3924,166,524,00045,265,0002,322,432stderr
2Oct 31, 2026 03:57124,3743,731,244,9034,165,758,00044,488,0002,326,528stderr
3Oct 31, 2026 03:57124,4223,732,673,0524,162,168,00045,318,0002,322,432stderr
4Oct 31, 2026 03:57124,7623,742,883,0834,175,785,00044,229,0002,326,528stderr
5Oct 31, 2026 03:57124,7713,743,151,3974,180,436,00045,277,0002,326,528stderr
6Oct 31, 2026 03:57130,9373,928,113,1174,363,592,00044,009,0002,322,432stderr
7Oct 31, 2026 03:57131,3153,939,461,2794,370,823,00044,028,0002,314,240stderr
8Oct 31, 2026 03:57146,7274,401,837,3654,894,097,00047,858,0002,322,432stderr
9Oct 31, 2026 03:57148,4854,454,559,4734,849,412,00046,979,0002,117,632stderr