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 5, 2026 01:04Victor MerckléVictor MerckléScore: 2,931Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2026 01:192,903104,650,11693,630,0002,195,0002,121,728stderr
2Sep 5, 2026 01:192,905104,498,29793,702,0002,182,0002,121,728stderr
3Sep 5, 2026 01:192,910105,300,95393,844,0002,207,0002,121,728stderr
4Sep 5, 2026 01:192,927105,229,72194,420,0002,203,0002,121,728stderr
5Sep 5, 2026 01:192,931105,308,36494,616,0002,139,0002,121,728stderr
6Sep 5, 2026 01:192,937106,188,98594,763,0002,180,0002,121,728stderr
7Sep 5, 2026 01:192,941106,228,39594,893,0002,183,0002,121,728stderr
8Sep 5, 2026 01:192,941106,099,74894,872,0002,188,0002,121,728stderr
9Sep 5, 2026 01:192,963107,017,58595,564,0002,219,0002,121,728stderr