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 listSep 9, 2026 02:24Andrew EpsteinAndrew EpsteinScore: 125,552Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 9, 2026 02:31123,9263,717,796,10610,436,090,000401,981,0002,457,600stderr
2Sep 9, 2026 02:31124,6413,739,252,91310,366,216,000413,053,0002,473,984stderr
3Sep 9, 2026 02:31125,1993,755,987,12610,416,115,000417,856,0002,359,296stderr
4Sep 9, 2026 02:31125,5523,766,563,10010,509,788,000417,714,0002,502,656stderr
5Sep 9, 2026 02:31125,5523,766,560,07910,477,493,000409,216,0002,281,472stderr
6Sep 9, 2026 02:31125,8423,775,271,02310,374,583,000394,322,0002,170,880stderr
7Sep 9, 2026 02:31125,8823,776,467,50910,473,029,000427,254,0002,318,336stderr
8Sep 9, 2026 02:31126,3203,789,604,15610,451,233,000403,356,0002,187,264stderr
9Sep 9, 2026 02:31126,5293,795,879,56110,561,899,000405,677,0002,514,944stderr