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:58Andrew EpsteinAndrew EpsteinScore: 25,513Success
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:5925,141840,747,588824,480,0005,193,0002,121,728stderr
2Oct 30, 2026 22:5925,286845,455,906829,199,0005,271,0002,121,728stderr
3Oct 30, 2026 22:5925,333847,068,574830,768,0005,237,0002,121,728stderr
4Oct 30, 2026 22:5925,345847,345,841831,153,0005,246,0002,121,728stderr
5Oct 30, 2026 22:5925,513853,138,695836,787,0005,154,0002,121,728stderr
6Oct 30, 2026 22:5925,586855,360,487839,052,0005,317,0002,121,728stderr
7Oct 30, 2026 22:5925,632856,860,792839,648,0006,229,0002,121,728stderr
8Oct 30, 2026 22:5925,682859,029,401842,165,0005,366,0002,121,728stderr
9Oct 30, 2026 22:5925,728860,014,794843,725,0005,322,0002,121,728stderr