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 12, 2024 19:31Joad NacerJoad NacerScore: 10,202Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 12, 2024 19:309,950390,727,712328,341,21002,232,320
2May 12, 2024 19:309,990393,700,068329,685,34302,228,224
3May 12, 2024 19:3010,049388,628,834331,605,91702,228,224
4May 12, 2024 19:3110,099385,117,445333,263,89702,215,936
5May 12, 2024 19:3110,108398,716,597333,580,19602,228,224
6May 12, 2024 19:3110,112359,991,929276,749,00056,948,0002,433,024
7May 12, 2024 19:3110,168363,939,658278,616,00056,921,0002,281,472
8May 12, 2024 19:3110,202359,228,871278,713,00057,940,0002,441,216
9May 12, 2024 19:3110,222372,246,473280,438,00056,886,0002,437,120
10May 12, 2024 19:3110,258400,175,000338,504,54002,236,416
11May 12, 2024 19:3110,283369,787,487280,449,00058,884,0002,400,256
12May 12, 2024 19:3110,320364,802,388283,636,00056,927,0002,433,024
13May 12, 2024 19:3110,372368,043,835284,222,00058,045,0002,424,832
14May 12, 2024 19:3110,385365,733,199285,752,00056,950,0002,433,024
15May 12, 2024 19:3110,454369,861,687284,977,00059,995,0002,478,080