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 20, 2026 19:06Pavel SkripkinPavel SkripkinScore: 20,738Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 20, 2026 19:0619,668668,366,263646,031,0003,000,0002,437,120
2Jan 20, 2026 19:0619,769680,768,325650,391,0001,998,0002,437,120
3Jan 20, 2026 19:0620,660701,564,035678,775,0002,999,0002,437,120
4Jan 20, 2026 19:0620,664712,380,703679,905,0001,999,0002,445,312
5Jan 20, 2026 19:0620,738716,453,729681,352,0002,997,0002,543,616
6Jan 20, 2026 19:0620,823717,243,671685,162,0002,000,0002,441,216
7Jan 20, 2026 19:0621,084716,539,619693,767,0001,999,0002,543,616
8Jan 20, 2026 19:0621,889747,849,457720,344,0001,998,0002,441,216
9Jan 20, 2026 19:0622,043750,699,950724,433,0002,997,0002,433,024