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 listJan 2, 2026 12:39Rajarshi BasuRajarshi BasuScore: 3,338Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2026 12:393,313141,975,938106,319,0003,009,0002,285,568
2Jan 2, 2026 12:393,319138,019,258107,502,0002,009,0002,285,568
3Jan 2, 2026 12:393,325143,121,901107,724,0001,994,0002,285,568
4Jan 2, 2026 12:393,326135,923,263106,764,0002,993,0002,383,872
5Jan 2, 2026 12:393,330135,596,052106,905,0002,997,0002,285,568
6Jan 2, 2026 12:393,334140,563,440108,034,0002,000,0002,387,968
7Jan 2, 2026 12:393,338134,786,224108,137,0002,002,0002,506,752
8Jan 2, 2026 12:393,343133,783,508108,324,0002,006,0002,285,568
9Jan 2, 2026 12:393,346135,322,399108,409,0002,007,0002,375,680
10Jan 2, 2026 12:393,357137,134,158108,785,0001,996,0002,383,872
11Jan 2, 2026 12:393,361140,746,085108,901,0001,998,0002,285,568
12Jan 2, 2026 12:393,422143,967,617110,931,0001,998,0002,379,776