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 28, 2024 15:47Joad NacerJoad NacerScore: 7,425Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2024 15:477,284266,908,664184,525,00055,856,0002,338,816
2May 28, 2024 15:477,296271,450,758186,828,00053,950,0002,494,464
3May 28, 2024 15:477,322298,116,792241,622,86602,220,032
4May 28, 2024 15:477,356266,892,888187,793,00054,939,0002,424,832
5May 28, 2024 15:477,397267,468,391186,066,00058,020,0002,428,928
6May 28, 2024 15:477,405323,048,657244,355,93402,228,224
7May 28, 2024 15:477,425302,236,878245,038,85102,351,104
8May 28, 2024 15:477,451274,580,044189,910,00055,973,0002,478,080
9May 28, 2024 15:477,466275,202,030189,517,00056,855,0002,420,736
10May 28, 2024 15:477,473269,836,845186,709,00059,906,0002,359,296
11May 28, 2024 15:477,524283,564,871189,234,00059,073,0002,531,328
12May 28, 2024 15:477,584280,267,953192,219,00058,066,0002,314,240