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 09:01Andrew EpsteinAndrew EpsteinScore: 124,651Success
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 09:02123,8743,716,242,4834,126,190,00044,960,0002,330,624stderr
2Oct 31, 2026 09:02123,9023,717,068,8844,125,797,00044,749,0002,326,528stderr
3Oct 31, 2026 09:02123,9323,717,972,3254,128,453,00041,973,0002,326,528stderr
4Oct 31, 2026 09:02124,4503,733,527,7274,145,895,00042,386,0002,326,528stderr
5Oct 31, 2026 09:02124,6513,739,541,0264,157,559,00043,986,0002,326,528stderr
6Oct 31, 2026 09:02124,6613,739,842,4804,152,698,00041,246,0002,326,528stderr
7Oct 31, 2026 09:02126,6743,800,247,8604,210,596,00043,019,0002,326,528stderr
8Oct 31, 2026 09:02127,1233,813,699,3564,217,627,00045,787,0002,322,432stderr
9Oct 31, 2026 09:02131,2023,936,086,1424,345,356,00046,666,0002,326,528stderr