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 07:26Andrew EpsteinAndrew EpsteinScore: 124,310Success
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 07:28123,5183,705,567,8184,121,753,00040,025,0002,326,528stderr
2Oct 31, 2026 07:28123,5573,706,722,2204,121,111,00039,966,0002,326,528stderr
3Oct 31, 2026 07:28124,0723,722,187,7674,132,399,00042,465,0002,232,320stderr
4Oct 31, 2026 07:28124,1293,723,881,4854,138,613,00041,526,0002,322,432stderr
5Oct 31, 2026 07:28124,3103,729,306,1694,134,302,00045,483,0002,326,528stderr
6Oct 31, 2026 07:28126,5513,796,530,6214,204,861,00041,578,0002,322,432stderr
7Oct 31, 2026 07:28127,8993,836,992,5904,252,377,00041,122,0002,326,528stderr
8Oct 31, 2026 07:28131,2403,937,213,7994,350,151,00042,040,0002,326,528stderr
9Oct 31, 2026 07:28131,3973,941,916,6894,359,727,00046,735,0002,338,816stderr