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 listFeb 26, 2025 16:52AdityaAdityaScore: 312,746Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 26, 2025 16:52310,23510,266,014,93710,139,806,00097,940,0002,420,736
2Feb 26, 2025 16:52310,74210,290,463,49910,167,538,00086,944,0002,510,848
3Feb 26, 2025 16:52311,47010,309,530,96410,199,569,00078,950,0002,404,352
4Feb 26, 2025 16:52312,63210,349,349,99510,227,902,00088,946,0002,301,952
5Feb 26, 2025 16:52312,74610,354,512,29510,240,665,00079,950,0002,412,544
6Feb 26, 2025 16:52313,79610,387,900,74610,279,302,00075,957,0002,478,080
7Feb 26, 2025 16:52314,76410,423,008,58510,307,275,00079,947,0002,412,544
8Feb 26, 2025 16:52316,65210,486,445,85610,369,578,00079,950,0002,351,104
9Feb 26, 2025 16:52320,06910,593,602,49210,473,341,00088,951,0002,306,048