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 4, 2026 04:26zielajzielajScore: 3,174Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 4, 2026 17:223,079130,879,884100,613,0001,006,0002,416,640
2Jan 4, 2026 17:223,095127,558,098100,133,0002,002,0002,273,280
3Jan 4, 2026 17:223,121130,488,61799,992,0002,999,0002,416,640
4Jan 4, 2026 17:223,127123,117,160102,182,0001,001,0002,535,424
5Jan 4, 2026 17:223,162127,557,466102,337,0002,006,0002,535,424
6Jan 4, 2026 04:263,172132,508,022101,696,0002,991,0002,412,544
7Jan 4, 2026 17:223,174127,880,557104,746,00002,535,424
8Jan 4, 2026 17:223,175133,143,647103,767,000997,0002,535,424
9Jan 4, 2026 17:223,196127,646,597103,455,0002,008,0002,416,640
10Jan 4, 2026 04:263,207133,994,574103,820,0001,996,0002,412,544
11Jan 4, 2026 17:223,207133,496,836105,818,00002,408,448
12Jan 4, 2026 04:263,217125,139,585104,174,0002,003,0002,535,424