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 04:34Andrew EpsteinAndrew EpsteinScore: 124,451Success
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 04:39124,0693,722,078,2704,146,971,00043,518,0002,322,432stderr
2Oct 31, 2026 04:39124,1243,723,738,3274,145,210,00044,913,0002,322,432stderr
3Oct 31, 2026 04:39124,2503,727,515,8894,151,245,00044,385,0002,326,528stderr
4Oct 31, 2026 04:39124,3303,729,921,5224,153,186,00044,955,0002,326,528stderr
5Oct 31, 2026 04:39124,4513,733,546,2564,159,486,00044,666,0002,318,336stderr
6Oct 31, 2026 04:39124,6193,738,584,5104,160,326,00046,160,0002,326,528stderr
7Oct 31, 2026 04:39124,6203,738,602,5644,165,649,00044,969,0002,326,528stderr
8Oct 31, 2026 04:39124,7733,743,215,0294,172,400,00045,168,0002,322,432stderr
9Oct 31, 2026 04:39124,8353,745,053,1594,166,146,00047,227,0002,326,528stderr