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 listAug 24, 2026 23:15Victor MerckléVictor MerckléError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 24, 2026 23:17020,020,010,46320,010,497,0001,001,00016,384Killed by timeout
2Aug 24, 2026 23:17020,020,473,53420,011,255,0001,001,00016,384Killed by timeout
3Aug 24, 2026 23:174,161146,533,822136,211,0001,117,0002,121,728stderr
4Aug 24, 2026 23:174,165145,699,998136,440,0001,007,0002,121,728stderr
5Aug 24, 2026 23:174,172145,838,865136,693,0001,007,0002,121,728stderr
6Aug 24, 2026 23:174,179146,614,837136,912,0001,005,0002,121,728stderr
7Aug 24, 2026 23:174,207147,975,034137,855,0001,006,0002,121,728stderr
8Aug 24, 2026 23:174,228148,608,529138,518,0001,006,0002,121,728stderr