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 22:35Andrew EpsteinAndrew EpsteinScore: 23,031Success
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 22:3622,883766,181,655750,005,0005,150,0002,121,728stderr
2Oct 30, 2026 22:3622,923767,490,667751,340,0005,142,0002,121,728stderr
3Oct 30, 2026 22:3622,965768,827,929752,568,0005,299,0002,121,728stderr
4Oct 30, 2026 22:3622,980769,384,893753,193,0005,154,0002,121,728stderr
5Oct 30, 2026 22:3623,031771,516,745754,738,0005,295,0002,121,728stderr
6Oct 30, 2026 22:3623,041771,359,467755,055,0005,323,0002,121,728stderr
7Oct 30, 2026 22:3623,203776,703,987760,345,0005,382,0002,121,728stderr
8Oct 30, 2026 22:3623,227777,550,551761,137,0005,374,0002,121,728stderr
9Oct 30, 2026 22:3623,227777,638,086761,146,0005,358,0002,121,728stderr