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 31, 2026 00:54Andrew EpsteinAndrew EpsteinScore: 2,797Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 31, 2026 00:572,72699,381,82187,813,0002,152,0002,138,112
2Oct 31, 2026 00:572,73699,724,01488,164,0002,142,0002,138,112
3Oct 31, 2026 00:572,747100,045,36888,555,0002,117,0002,138,112
4Oct 31, 2026 00:572,776101,061,92189,457,0002,157,0002,138,112
5Oct 31, 2026 00:572,797102,258,55590,167,0002,151,0002,138,112
6Oct 31, 2026 00:572,798101,873,89090,190,0002,149,0002,138,112
7Oct 31, 2026 00:572,895106,625,64793,442,0002,123,0002,138,112
8Oct 31, 2026 00:573,268128,004,647105,674,0002,201,0002,138,112
9Oct 31, 2026 00:573,663137,801,295118,660,0002,238,0002,138,112