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:49Andrew EpsteinAndrew EpsteinScore: 127,050Success
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:51126,6443,799,340,4904,366,943,00044,653,0002,375,680stderr
2Oct 31, 2026 04:51126,7143,801,437,0874,362,117,00048,503,0002,379,776stderr
3Oct 31, 2026 04:51126,7403,802,219,0384,373,400,00046,828,0002,371,584stderr
4Oct 31, 2026 04:51126,8683,806,046,3704,372,243,00046,326,0002,375,680stderr
5Oct 31, 2026 04:51127,0503,811,529,8304,375,358,00048,373,0002,375,680stderr
6Oct 31, 2026 04:51127,2783,818,357,1804,389,045,00047,412,0002,314,240stderr
7Oct 31, 2026 04:51127,3783,821,353,6294,400,836,00046,337,0002,375,680stderr
8Oct 31, 2026 04:51128,4043,852,127,6134,415,057,00048,995,0002,371,584stderr
9Oct 31, 2026 04:51129,4173,882,530,4054,442,703,00047,174,0002,387,968stderr