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 4, 2024 00:35Henry CafaroHenry CafaroScore: 17,622Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 00:3517,502601,599,395556,580,00020,984,0002,310,144
2Aug 4, 2024 00:3517,520600,028,510559,186,00018,972,0002,453,504
3Aug 4, 2024 00:3517,528606,043,851558,447,00019,980,0002,293,760
4Aug 4, 2024 00:3517,593603,540,200564,576,00015,987,0002,322,432
5Aug 4, 2024 00:3517,605605,640,361560,986,00019,963,0002,383,872
6Aug 4, 2024 00:3517,609608,496,438565,138,00015,975,0002,490,368
7Aug 4, 2024 00:3517,622606,022,520564,551,00016,986,0002,392,064
8Aug 4, 2024 00:3517,711609,243,048564,473,00019,981,0002,273,280
9Aug 4, 2024 00:3518,050618,618,128579,666,00015,990,0002,273,280
10Aug 4, 2024 00:3518,164668,569,303599,402,38602,248,704
11Aug 4, 2024 00:3518,164672,218,692599,419,56402,260,992
12Aug 4, 2024 00:3518,281680,048,490603,287,09302,371,584