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 08:18Andrew EpsteinAndrew EpsteinScore: 124,346Success
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 08:32123,9093,717,299,4524,123,463,00045,197,0002,322,432stderr
2Oct 31, 2026 08:32124,0693,722,086,7714,138,118,00041,001,0002,322,432stderr
3Oct 31, 2026 08:32124,0893,722,698,8344,130,704,00044,483,0002,326,528stderr
4Oct 31, 2026 08:32124,1533,724,596,8214,143,548,00043,301,0002,326,528stderr
5Oct 31, 2026 08:32124,3463,730,401,2204,142,184,00043,281,0002,314,240stderr
6Oct 31, 2026 08:32124,5353,736,071,2114,152,941,00040,423,0002,207,744stderr
7Oct 31, 2026 08:32126,1613,784,848,6854,195,494,00042,885,0002,322,432stderr
8Oct 31, 2026 08:32135,6804,070,410,3314,476,195,00045,881,0002,117,632stderr
9Oct 31, 2026 08:32139,1794,175,394,4494,617,276,00043,552,0002,117,632stderr