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 18:17Joad NacerJoad NacerScore: 8,321Success
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 18:177,965328,321,040262,843,38602,236,416
2May 21, 2024 18:177,983330,448,842263,455,21702,228,224
3May 21, 2024 18:178,019330,228,911264,642,75702,232,320
4May 21, 2024 18:178,119296,323,832211,937,00055,983,0002,433,024
5May 21, 2024 18:178,196297,325,935213,570,00056,885,0002,433,024
6May 21, 2024 18:178,306299,515,525217,086,00057,022,0002,318,336
7May 21, 2024 18:178,321299,139,705215,678,00058,912,0002,457,600
8May 21, 2024 18:178,345302,242,891215,512,00059,864,0002,428,928
9May 21, 2024 18:178,358298,681,230215,860,00059,961,0002,330,624
10May 21, 2024 18:178,376304,565,590218,545,00057,879,0002,510,848
11May 21, 2024 18:178,378301,124,481219,586,00056,892,0002,420,736
12May 21, 2024 18:178,400306,554,514221,150,00056,038,0002,437,120