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 13, 2024 19:34Joad NacerJoad NacerScore: 12,996Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2024 19:3412,113458,247,116399,740,10802,179,072
2May 13, 2024 19:3412,352436,861,108403,615,0003,996,0002,514,944
3May 13, 2024 19:3412,426438,924,132406,066,0004,000,0002,285,568
4May 13, 2024 19:3412,638442,980,872414,070,0003,000,0002,285,568
5May 13, 2024 19:3412,670444,107,651414,122,0004,001,0002,285,568
6May 13, 2024 19:3412,864446,250,601419,506,0004,994,0002,285,568
7May 13, 2024 19:3412,996453,633,728424,877,0003,998,0002,285,568
8May 13, 2024 19:3413,016454,133,487424,521,0004,994,0002,506,752
9May 13, 2024 19:3413,068457,976,617427,248,0004,002,0002,506,752
10May 13, 2024 19:3413,197459,688,998431,513,0003,995,0002,510,848
11May 13, 2024 19:3413,408516,859,749442,471,97002,179,072
12May 13, 2024 19:3413,439498,764,452443,485,87902,318,336