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 9, 2024 23:29E SequeiraE SequeiraScore: 112,841Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 9, 2024 23:29111,1513,699,965,4453,653,989,00013,992,0002,494,464
2Nov 9, 2024 23:29111,7233,715,581,4773,674,882,00011,993,0002,281,472
3Nov 9, 2024 23:29112,3083,738,505,2403,695,188,00010,991,0002,461,696
4Nov 9, 2024 23:29112,3633,738,746,7183,695,980,00011,990,0002,281,472
5Nov 9, 2024 23:29112,8413,755,368,0813,711,763,00011,992,0002,281,472
6Nov 9, 2024 23:29113,1813,766,325,5483,726,976,0007,993,0002,281,472
7Nov 9, 2024 23:29113,1953,770,435,6523,722,444,00012,991,0002,281,472
8Nov 9, 2024 23:29113,2933,767,145,7963,725,696,00012,988,0002,453,504
9Nov 9, 2024 23:29114,0423,797,322,0993,754,409,0008,984,0002,457,600