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:24Andrew EpsteinAndrew EpsteinScore: 43,703Success
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:2643,3181,440,684,4661,421,040,0008,471,0002,121,728stderr
2Oct 30, 2026 21:2643,6091,450,228,0911,431,779,0007,328,0002,121,728stderr
3Oct 30, 2026 21:2643,6351,451,257,4491,430,542,0009,440,0002,121,728stderr
4Oct 30, 2026 21:2643,6901,453,084,5051,434,430,0007,353,0002,121,728stderr
5Oct 30, 2026 21:2643,7031,453,228,0071,434,823,0007,384,0002,121,728stderr
6Oct 30, 2026 21:2643,9031,459,801,6281,441,402,0007,399,0002,121,728stderr
7Oct 30, 2026 21:2643,9241,460,909,9541,442,034,0007,463,0002,121,728stderr
8Oct 30, 2026 21:2644,0561,465,305,7931,445,535,0008,322,0002,121,728stderr
9Oct 30, 2026 21:2644,0641,465,651,5801,446,702,0007,421,0002,121,728stderr