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:08Rajarshi BasuRajarshi BasuScore: 3,461Success
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:083,434137,677,169111,303,0002,005,0002,392,064
2Jan 2, 2026 12:083,444141,015,129110,668,0002,991,0002,379,776
3Jan 2, 2026 12:073,446140,957,879110,720,0002,992,0002,285,568
4Jan 2, 2026 12:073,447137,709,819110,746,0002,993,0002,285,568
5Jan 2, 2026 12:073,451147,628,191110,891,0002,997,0002,277,376
6Jan 2, 2026 12:083,452139,183,348110,910,0002,997,0002,387,968
7Jan 2, 2026 12:083,461138,870,285111,192,0003,005,0002,506,752
8Jan 2, 2026 12:083,465143,455,145111,332,0003,008,0002,383,872
9Jan 2, 2026 12:083,465140,974,953111,350,0003,009,0002,383,872
10Jan 2, 2026 12:083,486139,145,382113,043,0002,000,0002,285,568
11Jan 2, 2026 12:083,548139,453,956115,094,0002,001,0002,383,872
12Jan 2, 2026 12:083,580143,523,588115,122,0003,003,0002,281,472