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 06:36Andrew EpsteinAndrew EpsteinScore: 126,654Success
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 06:43124,0523,721,577,1534,136,588,00040,551,0002,314,240stderr
2Oct 31, 2026 06:43124,0643,721,939,6484,127,394,00045,746,0002,318,336stderr
3Oct 31, 2026 06:43124,3803,731,419,1554,143,887,00040,751,0002,232,320stderr
4Oct 31, 2026 06:43124,7573,742,711,0814,157,412,00040,649,0002,314,240stderr
5Oct 31, 2026 06:43126,6543,799,636,9794,215,780,00040,726,0002,314,240stderr
6Oct 31, 2026 06:43127,8493,835,488,3454,240,738,00048,244,0002,326,528stderr
7Oct 31, 2026 06:43131,0923,932,787,9904,344,834,00042,336,0002,322,432stderr
8Oct 31, 2026 06:43131,2493,937,480,8864,348,205,00044,032,0002,326,528stderr
9Oct 31, 2026 06:43131,3713,941,134,8664,352,892,00045,269,0002,314,240stderr