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 23, 2024 12:03Alex KentAlex KentScore: 41,793Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 23, 2024 12:0341,5471,400,193,7011,361,074,0009,993,0002,351,104
2Sep 23, 2024 12:0341,6311,395,351,7871,364,836,0008,998,0002,351,104
3Sep 23, 2024 12:0341,6851,399,497,6421,364,622,00010,996,0002,482,176
4Sep 23, 2024 12:0341,7051,405,826,2421,367,268,0008,995,0002,424,832
5Sep 23, 2024 12:0341,7931,404,142,9131,370,165,0008,994,0002,359,296
6Sep 23, 2024 12:0341,8581,405,013,3101,373,324,0007,996,0002,355,200
7Sep 23, 2024 12:0341,9461,411,521,3721,376,208,0007,995,0002,359,296
8Sep 23, 2024 12:0342,0841,420,642,8701,379,783,0008,998,0002,351,104
9Sep 23, 2024 12:0344,9821,512,789,7721,479,394,0004,997,0002,404,352