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 17:57Joad NacerJoad NacerScore: 9,716Success
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 17:578,344334,017,819275,356,62802,240,512
2May 21, 2024 17:578,405336,112,424277,356,08102,232,320
3May 21, 2024 17:578,409342,814,276277,500,84702,228,224
4May 21, 2024 17:579,636346,525,952261,987,00055,997,0002,363,392
5May 21, 2024 17:579,670344,894,922261,078,00058,017,0002,482,176
6May 21, 2024 17:579,716344,571,152261,698,00058,932,0002,433,024
7May 21, 2024 17:579,716344,364,940261,708,00058,934,0002,514,944
8May 21, 2024 17:579,742345,656,042261,580,00059,903,0002,318,336
9May 21, 2024 17:579,744344,292,552264,638,00056,922,0002,437,120
10May 21, 2024 17:579,749346,941,360264,754,00056,947,0002,486,272
11May 21, 2024 17:579,773350,911,368265,609,00056,916,0002,400,256
12May 21, 2024 17:579,788346,788,516267,006,00056,001,0002,424,832