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 listJan 2, 2026 12:12zielajzielajScore: 3,362Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2026 12:123,311136,969,186108,245,0001,002,0002,273,280
2Jan 2, 2026 12:123,324135,976,579106,706,0002,991,0002,416,640
3Jan 2, 2026 12:123,351135,705,786109,584,0001,005,0002,535,424
4Jan 2, 2026 12:123,361138,898,332107,905,0002,997,0002,273,280
5Jan 2, 2026 12:123,362139,275,526107,938,0002,998,0002,416,640
6Jan 2, 2026 12:123,362136,425,720107,941,0002,998,0002,535,424
7Jan 2, 2026 12:123,431134,641,440112,226,0001,002,0002,416,640
8Jan 2, 2026 12:123,460135,830,584112,167,0002,002,0002,416,640
9Jan 2, 2026 12:123,641143,435,247118,150,0002,002,0002,412,544