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 listOct 30, 2026 00:33Andrew EpsteinAndrew EpsteinScore: 48,354Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2026 00:4147,7831,587,862,5801,568,502,0008,341,0002,121,728stderr
2Oct 30, 2026 00:4147,8781,590,945,1291,571,546,0008,446,0002,121,728stderr
3Oct 30, 2026 00:4148,0671,597,234,7511,577,898,0008,313,0002,121,728stderr
4Oct 30, 2026 00:4148,2941,604,767,8551,585,265,0008,440,0002,121,728stderr
5Oct 30, 2026 00:4148,3541,606,652,6531,587,303,0008,409,0002,121,728stderr
6Oct 30, 2026 00:4148,4011,608,209,5051,588,681,0008,566,0002,121,728stderr
7Oct 30, 2026 00:4148,4221,608,905,3981,589,519,0008,422,0002,121,728stderr
8Oct 30, 2026 00:4148,5481,613,101,3001,593,749,0008,356,0002,121,728stderr
9Oct 30, 2026 00:4148,6111,615,132,0381,595,675,0008,488,0002,121,728stderr