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 listJan 3, 2025 00:29tkaltkalScore: 248,733Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2025 00:29246,7258,179,515,6158,065,979,00075,952,0002,265,088
2Jan 3, 2025 00:29247,1528,192,714,3568,088,059,00067,958,0002,347,008
3Jan 3, 2025 00:29248,2218,224,085,2068,110,333,00080,953,0002,523,136
4Jan 3, 2025 00:29248,7318,245,927,4538,138,171,00069,958,0002,433,024
5Jan 3, 2025 00:29248,7338,241,904,8418,140,230,00067,960,0002,387,968
6Jan 3, 2025 00:29249,1028,247,164,5278,154,401,00065,954,0002,351,104
7Jan 3, 2025 00:29249,4278,266,037,5698,160,145,00070,957,0002,355,200
8Jan 3, 2025 00:29249,7168,269,819,9518,162,683,00077,949,0002,342,912
9Jan 3, 2025 00:29252,1438,362,309,7018,234,785,00085,945,0002,510,848