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 18, 2026 17:57Andrew EpsteinAndrew EpsteinScore: 72,543Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 18, 2026 17:5972,2992,396,375,1002,374,226,00011,652,0002,121,728stderr
2Sep 18, 2026 17:5972,3582,398,317,8782,376,364,00011,463,0002,121,728stderr
3Sep 18, 2026 17:5972,3642,399,225,9082,376,449,00011,570,0002,121,728stderr
4Sep 18, 2026 17:5972,5042,403,843,2382,381,069,00011,592,0002,121,728stderr
5Sep 18, 2026 17:5972,5432,404,391,1242,382,639,00011,310,0002,121,728stderr
6Sep 18, 2026 17:5972,5932,406,115,8012,384,016,00011,577,0002,121,728stderr
7Sep 18, 2026 17:5972,7222,410,572,8242,388,364,00011,475,0002,121,728stderr
8Sep 18, 2026 17:5972,7332,410,661,8282,388,782,00011,423,0002,121,728stderr
9Sep 18, 2026 17:5972,8122,413,865,7782,391,382,00011,433,0002,121,728stderr