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 16:57Andrew EpsteinAndrew EpsteinScore: 283,703Success
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 16:59282,1739,323,205,3659,287,251,00024,469,0002,125,824stderr
2Sep 18, 2026 16:59283,3029,360,716,2539,323,719,00025,261,0002,125,824stderr
3Sep 18, 2026 16:59283,3679,362,482,8069,326,110,00025,009,0002,125,824stderr
4Sep 18, 2026 16:59283,4589,365,107,4699,328,769,00025,352,0002,125,824stderr
5Sep 18, 2026 16:59283,7039,373,517,7809,337,721,00024,490,0002,125,824stderr
6Sep 18, 2026 16:59283,9259,380,660,0689,343,247,00026,283,0002,125,824stderr
7Sep 18, 2026 16:59285,4699,431,338,7659,395,000,00025,494,0002,125,824stderr
8Sep 18, 2026 16:59285,7319,439,766,3359,403,941,00025,194,0002,125,824stderr
9Sep 18, 2026 16:59286,4139,462,247,7729,424,551,00027,092,0002,125,824stderr