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:06Andrew EpsteinAndrew EpsteinScore: 123,845Success
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:08123,4833,704,501,4844,118,320,00044,646,0002,334,720stderr
2Oct 31, 2026 07:08123,5973,707,931,3574,116,081,00045,094,0002,322,432stderr
3Oct 31, 2026 07:08123,6263,708,801,7364,118,588,00044,309,0002,326,528stderr
4Oct 31, 2026 07:08123,8043,714,143,5644,135,112,00040,019,0002,322,432stderr
5Oct 31, 2026 07:08123,8453,715,364,1444,144,216,00042,908,0002,326,528stderr
6Oct 31, 2026 07:08124,0583,721,754,8084,130,093,00044,955,0002,326,528stderr
7Oct 31, 2026 07:08124,0633,721,910,1034,131,589,00042,162,0002,326,528stderr
8Oct 31, 2026 07:08124,1093,723,295,4014,134,339,00040,411,0002,322,432stderr
9Oct 31, 2026 07:08124,2323,726,974,8184,136,522,00040,096,0002,232,320stderr