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 21:57Andrew EpsteinAndrew EpsteinScore: 30,553Success
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 21:5830,3151,012,435,735994,070,0006,346,0002,121,728stderr
2Oct 30, 2026 21:5830,3861,013,789,333996,468,0006,275,0002,121,728stderr
3Oct 30, 2026 21:5830,4441,016,124,636998,448,0006,226,0002,121,728stderr
4Oct 30, 2026 21:5830,5411,019,345,6201,001,677,0006,198,0002,121,728stderr
5Oct 30, 2026 21:5830,5531,019,261,6841,001,870,0006,381,0002,121,728stderr
6Oct 30, 2026 21:5830,5851,020,762,4661,002,937,0006,395,0002,121,728stderr
7Oct 30, 2026 21:5830,7931,028,499,9671,009,957,0006,224,0002,121,728stderr
8Oct 30, 2026 21:5830,8271,028,270,7181,010,886,0006,412,0002,121,728stderr
9Oct 30, 2026 21:5831,2591,042,700,9191,025,277,0006,295,0002,121,728stderr