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 listSep 3, 2023 07:19matsuoka-601matsuoka-601Score: 11,739Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 3, 2023 07:1911,503406,125,694370,614,0008,990,0002,498,560
2Sep 3, 2023 07:1911,527407,782,840371,409,0008,985,0002,322,432
3Sep 3, 2023 07:1911,531403,662,555371,528,0008,988,0002,383,872
4Sep 3, 2023 07:1911,668415,375,222376,060,0008,977,0002,433,024
5Sep 3, 2023 07:1911,669408,840,997376,084,0009,002,0002,318,336
6Sep 3, 2023 07:1911,682410,535,573376,517,0008,988,0002,322,432
7Sep 3, 2023 07:1911,739449,654,515387,397,09002,224,128
8Sep 3, 2023 07:1911,763414,462,011380,205,0007,983,0002,424,832
9Sep 3, 2023 07:1911,808415,796,175381,658,0007,992,0002,420,736
10Sep 3, 2023 07:1911,839416,455,185380,680,0009,991,0002,453,504
11Sep 3, 2023 07:1911,914452,096,731393,161,25302,224,128
12Sep 3, 2023 07:1912,001461,137,694396,037,00902,224,128