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:58Andrew EpsteinAndrew EpsteinScore: 124,019Success
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 08:03123,3933,701,799,7264,119,214,00042,820,0002,326,528stderr
2Oct 31, 2026 08:03123,6503,709,504,2944,126,015,00040,556,0002,322,432stderr
3Oct 31, 2026 08:03123,7523,712,570,2134,129,016,00043,547,0002,326,528stderr
4Oct 31, 2026 08:03123,8853,716,571,7244,132,140,00044,018,0002,322,432stderr
5Oct 31, 2026 08:03124,0193,720,598,4584,135,548,00040,036,0002,322,432stderr
6Oct 31, 2026 08:03124,6493,739,496,7834,158,527,00040,200,0002,322,432stderr
7Oct 31, 2026 08:03130,8993,926,998,3194,338,527,00046,045,0002,326,528stderr
8Oct 31, 2026 08:03131,1233,933,707,7604,347,315,00043,155,0002,322,432stderr
9Oct 31, 2026 08:03131,2403,937,206,1214,350,297,00044,326,0002,330,624stderr