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 listMay 1, 2026 18:56Victor MerckléVictor MerckléScore: 177,760Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 1, 2026 18:58176,9935,309,801,7025,241,390,00046,976,0002,326,528stderr
2May 1, 2026 18:58177,1975,315,912,6575,250,254,00043,977,0002,547,712stderr
3May 1, 2026 18:58177,2685,318,065,4795,251,184,00041,977,0002,330,624stderr
4May 1, 2026 18:58177,6735,330,210,8385,260,162,00047,974,0002,330,624stderr
5May 1, 2026 18:58177,7605,332,824,8485,262,813,00051,968,0002,326,528stderr
6May 1, 2026 18:58177,7705,333,105,7565,274,656,00036,976,0002,330,624stderr
7May 1, 2026 18:58177,7985,333,949,6585,263,033,00048,963,0002,461,696stderr
8May 1, 2026 18:58177,9125,337,365,8095,272,506,00042,971,0002,420,736stderr
9May 1, 2026 18:58178,5405,356,204,3425,293,388,00042,970,0002,555,904stderr