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 listMay 21, 2024 16:15Joad NacerJoad NacerScore: 12,510Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 21, 2024 16:1510,021388,009,284330,697,29502,236,416
2May 21, 2024 16:1510,097412,882,036333,189,15102,240,512
3May 21, 2024 16:1510,570403,005,710348,804,17302,232,320
4May 21, 2024 16:1511,931417,515,708336,776,00056,962,0002,428,928
5May 21, 2024 16:1512,430432,473,707354,309,00055,891,0002,387,968
6May 21, 2024 16:1512,496441,552,349352,449,00059,906,0002,367,488
7May 21, 2024 16:1512,510438,550,784353,852,00058,975,0002,301,952
8May 21, 2024 16:1512,582443,995,016354,325,00060,884,0002,314,240
9May 21, 2024 16:1512,696450,846,886361,980,00056,996,0002,347,008
10May 21, 2024 16:1512,944455,412,495368,278,00058,884,0002,428,928
11May 21, 2024 16:1512,999454,478,318372,959,00055,993,0002,428,928
12May 21, 2024 16:1513,722478,203,630394,835,00057,975,0002,531,328