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 listNov 26, 2024 21:10MatthiasMatthiasScore: 111,049Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 26, 2024 21:10109,4243,644,568,2203,582,996,00027,984,0002,387,968
2Nov 26, 2024 21:10109,4563,644,245,0753,580,071,00031,982,0002,342,912
3Nov 26, 2024 21:10109,6113,648,329,6473,585,185,00031,983,0002,281,472
4Nov 26, 2024 21:10110,5523,683,757,8713,612,257,00035,972,0002,281,472
5Nov 26, 2024 21:10111,0493,700,626,5623,630,655,00033,968,0002,338,816
6Nov 26, 2024 21:10111,4163,710,157,5013,649,760,00026,983,0002,453,504
7Nov 26, 2024 21:10111,6033,717,260,4193,650,922,00031,973,0002,396,160
8Nov 26, 2024 21:10111,9743,726,553,7753,662,164,00032,965,0002,273,280
9Nov 26, 2024 21:10112,4393,745,854,4303,685,508,00024,976,0002,486,272