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:54Andrew EpsteinAndrew EpsteinScore: 179,131Success
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 03:02177,3535,320,603,92114,969,295,000569,301,0002,367,488stderr
2Sep 9, 2026 03:02177,6975,330,937,15114,955,653,000586,174,0002,338,816stderr
3Sep 9, 2026 03:02177,8995,336,999,22314,933,785,000579,858,0002,351,104stderr
4Sep 9, 2026 03:02178,4075,352,224,66814,896,767,000577,571,0002,551,808stderr
5Sep 9, 2026 03:02179,1315,373,941,02214,889,265,000569,175,0002,392,064stderr
6Sep 9, 2026 03:02180,4495,413,479,25515,044,875,000555,584,0002,404,352stderr
7Sep 9, 2026 03:02180,7705,423,115,76514,926,185,000568,916,0002,416,640stderr
8Sep 9, 2026 03:02182,0665,461,994,57514,943,486,000578,355,0002,379,776stderr
9Sep 9, 2026 03:02182,2455,467,370,93314,992,169,000585,094,0002,502,656stderr