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:35Andrew EpsteinAndrew EpsteinScore: 36,025Success
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:3635,8291,193,883,9081,175,045,0007,342,0002,121,728stderr
2Oct 31, 2026 00:3635,8781,195,622,0831,176,708,0007,277,0002,121,728stderr
3Oct 31, 2026 00:3635,8971,195,644,7581,177,192,0007,413,0002,121,728stderr
4Oct 31, 2026 00:3635,9311,197,096,1661,178,432,0007,318,0002,121,728stderr
5Oct 31, 2026 00:3636,0251,200,222,8101,181,484,0007,341,0002,121,728stderr
6Oct 31, 2026 00:3636,0891,201,895,2671,183,586,0007,376,0002,121,728stderr
7Oct 31, 2026 00:3636,2521,207,305,0551,189,003,0007,325,0002,121,728stderr
8Oct 31, 2026 00:3636,4791,215,268,6211,196,410,0007,399,0002,121,728stderr
9Oct 31, 2026 00:3637,0121,232,914,4701,214,117,0007,309,0002,121,728stderr