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 listAug 25, 2022 16:35Bernard TeoBernard TeoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 25, 2022 16:3500000Error: expected "1019304 ", got "1019303"
2Aug 25, 2022 16:3600000Error: expected "1023292 ", got "1023291"
3Aug 25, 2022 16:3510,987420,232,184362,581,64202,273,280
4Aug 25, 2022 16:3610,990429,212,906362,656,60702,281,472
5Aug 25, 2022 16:3511,007447,329,689363,223,22402,269,184
6Aug 25, 2022 16:3511,007429,631,479363,233,08802,277,376
7Aug 25, 2022 16:3611,032429,365,169364,043,15502,285,568
8Aug 25, 2022 16:3611,048416,466,524364,577,79202,252,800
9Aug 25, 2022 16:3511,059436,033,227364,960,60502,285,568
10Aug 25, 2022 16:3511,094433,104,655366,099,37102,277,376
11Aug 25, 2022 16:3511,814450,338,932389,851,38602,281,472