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 listSep 18, 2026 19:32Andrew EpsteinAndrew EpsteinScore: 71,501Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 18, 2026 19:3370,7452,345,232,8182,328,401,0006,194,0002,121,728stderr
2Sep 18, 2026 19:3371,4182,367,591,5072,350,647,0006,171,0002,121,728stderr
3Sep 18, 2026 19:3371,4492,368,405,0412,352,594,0005,245,0002,121,728stderr
4Sep 18, 2026 19:3371,4662,369,151,4482,352,242,0006,166,0002,121,728stderr
5Sep 18, 2026 19:3371,5012,370,044,1682,353,359,0006,184,0002,117,632stderr
6Sep 18, 2026 19:3371,5452,372,275,7732,355,854,0005,143,0002,121,728stderr
7Sep 18, 2026 19:3371,5722,372,842,3882,355,631,0006,276,0002,121,728stderr
8Sep 18, 2026 19:3371,9382,384,534,9602,368,752,0005,211,0002,121,728stderr
9Sep 18, 2026 19:3371,9572,385,196,4382,369,446,0005,143,0002,121,728stderr