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 12, 2026 00:54Josu San MartinJosu San MartinScore: 4,507Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 12, 2026 00:524,388167,446,046142,804,0001,997,0002,289,664
2Jan 12, 2026 00:524,391173,299,627143,905,000999,0002,412,544
3Jan 12, 2026 00:524,392167,109,107143,927,000999,0002,396,160
4Jan 12, 2026 00:504,394172,010,858142,999,0001,999,0002,289,664
5Jan 12, 2026 00:504,400177,979,343143,204,0002,002,0002,400,256
6Jan 12, 2026 00:504,401169,244,141145,226,00002,289,664
7Jan 12, 2026 00:534,506170,400,527147,697,000997,0002,510,848
8Jan 12, 2026 00:534,507172,324,394147,731,000998,0002,404,352
9Jan 12, 2026 00:534,507177,508,775147,720,000998,0002,400,256
10Jan 12, 2026 00:534,508175,500,447147,764,000998,0002,400,256
11Jan 12, 2026 00:544,511175,550,275147,854,000999,0002,289,664
12Jan 12, 2026 00:534,512168,181,405147,902,000999,0002,408,448
13Jan 12, 2026 00:534,512174,733,507146,883,0001,998,0002,289,664
14Jan 12, 2026 00:544,512177,865,438146,892,0001,998,0002,289,664
15Jan 12, 2026 00:544,516169,311,411147,033,0002,000,0002,404,352