Unique strings Sergey Svistunov

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 listApr 27, 2026 22:02Pavel SkripkinPavel SkripkinScore: 16,410Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2026 22:0416,090546,788,239424,985,000105,996,0002,322,432
2Apr 27, 2026 22:0416,218552,964,969426,361,000108,837,0002,310,144
3Apr 27, 2026 22:0416,256553,220,472428,568,000107,891,0002,506,752
4Apr 27, 2026 22:0416,284553,873,611429,499,000107,874,0002,371,584
5Apr 27, 2026 22:0416,410560,637,128437,624,000103,910,0002,506,752
6Apr 27, 2026 22:0416,441560,067,247436,650,000105,915,0002,519,040
7Apr 27, 2026 22:0416,736566,501,547443,446,000108,864,0002,527,232
8Apr 27, 2026 22:0416,864575,667,929444,625,000111,905,0002,387,968
9Apr 27, 2026 22:0417,006579,097,974449,372,000111,843,0002,547,712