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 18:58Andrew EpsteinAndrew EpsteinScore: 68,131Success
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 18:5968,0942,258,223,6942,241,945,0005,168,0002,125,824stderr
2Sep 18, 2026 18:5968,0962,258,440,3212,241,978,0005,200,0002,125,824stderr
3Sep 18, 2026 18:5968,0972,258,411,9172,242,014,0005,216,0002,125,824stderr
4Sep 18, 2026 18:5968,1262,258,635,8042,243,051,0005,119,0002,125,824stderr
5Sep 18, 2026 18:5968,1312,259,535,6972,243,273,0005,061,0002,125,824stderr
6Sep 18, 2026 18:5968,2002,261,076,3052,245,361,0005,244,0002,125,824stderr
7Sep 18, 2026 18:5968,2742,264,090,5552,247,957,0005,090,0002,125,824stderr
8Sep 18, 2026 18:5968,2912,264,120,4242,248,481,0005,135,0002,125,824stderr
9Sep 18, 2026 18:5968,4362,269,641,2952,253,187,0005,222,0002,125,824stderr