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 21, 2024 16:05Alex KentAlex KentScore: 70,085Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 21, 2024 16:0569,7242,325,950,1502,261,938,00038,964,0002,437,120
2Sep 21, 2024 16:0570,0852,335,098,9132,281,850,00030,970,0002,396,160
3Sep 21, 2024 16:0570,2972,347,650,2002,283,838,00035,965,0002,273,280