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 14, 2024 22:19Manuel PepeManuel PepeScore: 236,941Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 14, 2024 22:19235,3487,794,151,4897,619,578,000146,914,0002,420,736
2Nov 14, 2024 22:19236,1427,824,043,7447,651,792,000140,904,0002,371,584
3Nov 14, 2024 22:19236,4087,832,827,0737,651,547,000149,932,0002,359,296
4Nov 14, 2024 22:19236,6717,841,095,9277,645,230,000164,918,0002,351,104
5Nov 14, 2024 22:19236,9417,847,900,6787,644,166,000174,889,0002,510,848
6Nov 14, 2024 22:19237,0887,856,827,3157,646,018,000177,884,0002,281,472
7Nov 14, 2024 22:19238,4987,898,434,8657,704,542,000165,904,0002,465,792
8Nov 14, 2024 22:19238,8217,910,240,4027,723,206,000157,881,0002,506,752
9Nov 14, 2024 22:19239,7607,946,126,1357,760,161,000151,905,0002,400,256