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 24, 2024 10:54Ilango RajagopalIlango RajagopalScore: 472,057Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 24, 2024 10:54469,67815,535,632,57015,400,416,00098,944,0002,404,352
2Sep 24, 2024 10:54470,51415,568,591,94515,428,012,00098,942,0002,428,928
3Sep 24, 2024 10:54471,26115,593,477,43015,440,674,000110,933,0002,318,336
4Sep 24, 2024 10:54471,35815,588,956,42315,458,865,00095,943,0002,478,080
5Sep 24, 2024 10:54472,05715,618,229,74015,478,950,00098,935,0002,449,408
6Sep 24, 2024 10:54472,36615,623,614,43115,487,149,000100,935,0002,482,176
7Sep 24, 2024 10:54473,20015,652,173,47815,528,652,00086,953,0002,449,408
8Sep 24, 2024 10:54474,09815,685,683,80315,547,300,00097,938,0002,478,080
9Sep 24, 2024 10:54474,50215,699,822,76415,550,616,000107,941,0002,519,040