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:20Andrew EpsteinAndrew EpsteinScore: 124,410Success
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:22123,3943,701,834,5024,112,252,00045,011,0002,326,528stderr
2Oct 31, 2026 07:22123,4963,704,908,4174,112,482,00044,204,0002,322,432stderr
3Oct 31, 2026 07:22123,6533,709,601,3564,124,406,00040,858,0002,322,432stderr
4Oct 31, 2026 07:22124,1973,725,929,8124,143,277,00040,259,0002,207,744stderr
5Oct 31, 2026 07:22124,4103,732,305,5444,143,584,00041,039,0002,322,432stderr
6Oct 31, 2026 07:22124,4743,734,235,5744,140,379,00045,976,0002,211,840stderr
7Oct 31, 2026 07:22124,5293,735,895,5944,141,169,00043,904,0002,322,432stderr
8Oct 31, 2026 07:22124,6783,740,345,3094,148,435,00042,740,0002,207,744stderr
9Oct 31, 2026 07:22125,0043,750,148,6084,159,410,00043,628,0002,322,432stderr