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 listOct 17, 2026 20:57e1011e1011Error
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 25, 2026 16:12Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 25, 2026 16:16020,021,768,96119,998,526,00010,616,00016,384Killed by timeout
2Oct 17, 2026 20:5964,2312,130,832,7982,111,029,0008,612,0002,113,536
3Oct 17, 2026 20:5964,6232,144,231,5852,123,788,0008,799,0002,113,536
4Oct 17, 2026 20:5964,6412,144,435,5922,124,664,0008,520,0002,113,536
5Oct 17, 2026 20:5964,7422,147,823,6752,127,927,0008,567,0002,113,536
6Oct 17, 2026 20:5964,7722,149,175,9702,128,961,0008,526,0002,113,536
7Oct 17, 2026 20:5964,8482,151,122,0772,131,493,0008,518,0002,113,536
8Oct 17, 2026 20:5964,8572,151,435,1092,131,799,0008,503,0002,113,536
9Oct 17, 2026 20:5966,3722,201,599,2912,181,823,0008,483,0002,113,536
10Oct 17, 2026 20:5968,4272,269,173,8522,249,832,0008,280,0002,113,536