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 05:54Andrew EpsteinAndrew EpsteinScore: 125,270Success
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 05:56124,8213,744,640,9924,216,406,00045,034,0002,117,632stderr
2Oct 31, 2026 05:56124,8843,746,548,4584,220,777,00044,647,0002,314,240stderr
3Oct 31, 2026 05:56125,0753,752,254,3724,229,907,00043,178,0002,322,432stderr
4Oct 31, 2026 05:56125,1983,755,941,2554,228,984,00045,620,0002,199,552stderr
5Oct 31, 2026 05:56125,2703,758,102,4194,239,285,00044,973,0002,207,744stderr
6Oct 31, 2026 05:56125,7193,771,588,7684,250,003,00045,248,0002,199,552stderr
7Oct 31, 2026 05:56138,9684,169,062,0664,741,532,00045,266,0002,117,632stderr
8Oct 31, 2026 05:56139,8344,195,034,6604,666,208,00045,142,0002,232,320stderr
9Oct 31, 2026 05:56143,4104,302,310,3714,861,650,00043,046,0002,211,840stderr