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 06:40Andrew EpsteinAndrew EpsteinScore: 128,523Success
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 06:51123,9043,717,122,4414,135,304,00041,431,0002,322,432stderr
2Oct 31, 2026 06:51124,3263,729,809,1594,142,841,00041,788,0002,207,744stderr
3Oct 31, 2026 06:51124,3403,730,223,5034,147,590,00045,471,0002,326,528stderr
4Oct 31, 2026 06:51125,5773,767,314,3674,181,406,00044,400,0002,232,320stderr
5Oct 31, 2026 06:51128,5233,855,710,4424,272,537,00045,097,0002,330,624stderr
6Oct 31, 2026 06:51130,8083,924,245,1504,336,432,00041,479,0002,232,320stderr
7Oct 31, 2026 06:51131,5133,945,412,4244,362,471,00046,447,0002,322,432stderr
8Oct 31, 2026 06:51142,8084,284,268,2184,723,274,00043,501,0002,117,632stderr
9Oct 31, 2026 06:51143,7284,311,850,6014,797,828,00055,974,0002,117,632stderr