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 01:23Andrew EpsteinAndrew EpsteinScore: 48,653Success
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 01:5948,3501,606,974,5911,587,163,0008,392,0002,121,728stderr
2Oct 30, 2026 01:5948,3801,607,436,3261,588,144,0008,413,0002,121,728stderr
3Oct 30, 2026 01:5948,4371,609,412,8171,590,103,0008,350,0002,121,728stderr
4Oct 30, 2026 01:5948,5161,612,867,9891,590,728,00010,316,0002,121,728stderr
5Oct 30, 2026 01:5948,6531,616,671,2071,596,252,0009,299,0002,121,728stderr
6Oct 30, 2026 01:5948,6861,617,569,9601,598,261,0008,399,0002,121,728stderr
7Oct 30, 2026 01:5948,7911,621,700,9881,601,750,0008,374,0002,121,728stderr
8Oct 30, 2026 01:5949,0511,629,681,7781,610,258,0008,448,0002,121,728stderr
9Oct 30, 2026 01:5949,2131,635,412,3221,615,612,0008,438,0002,121,728stderr