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:40Andrew EpsteinAndrew EpsteinScore: 73,135Success
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:4172,2082,398,190,5042,337,666,00045,213,0002,117,632stderr
2Sep 18, 2026 17:4172,3722,399,544,5222,341,803,00046,479,0002,121,728stderr
3Sep 18, 2026 17:4172,4372,402,380,0872,345,844,00044,601,0002,121,728stderr
4Sep 18, 2026 17:4172,5842,406,894,9532,347,266,00048,028,0002,117,632stderr
5Sep 18, 2026 17:4173,1352,424,090,1922,366,650,00046,823,0002,117,632stderr
6Sep 18, 2026 17:4173,1362,428,317,4192,367,507,00045,984,0002,117,632stderr
7Sep 18, 2026 17:4173,1932,429,978,1622,369,699,00045,689,0002,121,728stderr
8Sep 18, 2026 17:4173,2422,427,507,1592,371,131,00045,870,0002,121,728stderr
9Sep 18, 2026 17:4173,2632,429,438,7232,371,485,00046,208,0002,117,632stderr