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 11, 2026 01:15zielajzielajScore: 3,085Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 11, 2026 01:202,980119,992,46395,316,0003,009,0002,412,544
2Jan 11, 2026 01:152,998118,906,43396,950,0001,998,0002,535,424
3Jan 11, 2026 01:203,008123,631,32597,245,0002,005,0002,420,736
4Jan 11, 2026 01:203,009122,235,84298,300,0001,003,0002,412,544
5Jan 11, 2026 01:203,046125,429,39699,514,0001,005,0002,412,544
6Jan 11, 2026 01:193,057130,102,84998,896,0001,997,0002,273,280
7Jan 11, 2026 01:203,063126,827,219100,077,0001,000,0002,535,424
8Jan 11, 2026 01:153,085132,188,722100,823,000998,0002,416,640
9Jan 11, 2026 01:193,085128,693,998100,813,000998,0002,535,424
10Jan 11, 2026 01:203,097129,979,778100,193,0002,003,0002,424,832
11Jan 11, 2026 01:153,099127,202,986100,267,0002,005,0002,535,424
12Jan 11, 2026 01:203,110128,879,402101,624,0001,006,0002,273,280
13Jan 11, 2026 01:203,114126,019,611101,777,000997,0002,535,424
14Jan 11, 2026 01:193,115125,940,416101,801,000998,0002,535,424
15Jan 11, 2026 01:203,148127,796,679101,897,0001,997,0002,400,256