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 listSep 10, 2022 19:40eldon-chungeldon-chungScore: 33,892Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 10, 2022 19:4033,7091,166,441,0731,112,382,86702,297,856
2Sep 10, 2022 19:4033,8681,173,233,2551,117,634,28702,289,664
3Sep 10, 2022 19:4033,8681,171,044,1931,117,653,48902,289,664
4Sep 10, 2022 19:4033,8781,175,966,4451,117,984,54302,297,856
5Sep 10, 2022 19:4033,8921,183,447,0881,118,452,08302,281,472
6Sep 10, 2022 19:4033,9541,173,748,8011,120,471,16502,293,760
7Sep 10, 2022 19:4033,9991,198,992,1421,121,953,05802,285,568
8Sep 10, 2022 19:4034,0001,184,552,9251,121,992,26502,297,856
9Sep 10, 2022 19:4034,0551,191,728,9031,123,821,30402,301,952