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 1, 2026 18:05zielajzielajScore: 3,525Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2026 17:583,429138,375,808111,150,0002,002,0002,445,312
2Jan 1, 2026 17:583,457139,860,652112,086,0002,001,0002,535,424
3Jan 1, 2026 17:593,462135,649,911112,236,0002,004,0002,506,752
4Jan 1, 2026 18:093,493137,281,268113,251,0002,004,0002,416,640
5Jan 1, 2026 18:003,508140,452,780113,756,0001,995,0002,408,448
6Jan 1, 2026 18:093,509137,835,241113,816,0001,996,0002,412,544
7Jan 1, 2026 17:583,525150,066,864114,314,0002,005,0002,535,424
8Jan 1, 2026 18:053,525135,724,301114,322,0002,005,0002,416,640
9Jan 1, 2026 17:593,530140,973,322115,493,0001,004,0002,428,928
10Jan 1, 2026 18:003,569136,731,776114,789,0002,994,0002,535,424
11Jan 1, 2026 17:593,575142,204,258115,976,0001,999,0002,535,424
12Jan 1, 2026 18:003,584137,973,257117,257,0001,002,0002,506,752
13Jan 1, 2026 18:053,630144,447,836118,796,000998,0002,420,736
14Jan 1, 2026 18:093,659141,005,658118,739,0001,995,0002,412,544
15Jan 1, 2026 18:053,668144,978,206119,048,0002,000,0002,502,656