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 10, 2026 14:41Josu San MartinJosu San MartinScore: 4,508Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 10, 2026 14:414,499174,778,986144,463,0004,012,0002,289,664
2Jan 10, 2026 14:414,504174,686,460146,650,0001,995,0002,400,256
3Jan 10, 2026 14:424,505174,432,099144,676,0003,991,0002,289,664
4Jan 10, 2026 14:424,505177,967,162143,689,0004,989,0002,510,848
5Jan 10, 2026 14:424,505178,337,743146,674,0001,995,0002,289,664
6Jan 10, 2026 14:414,506173,564,336148,689,00002,289,664
7Jan 10, 2026 14:414,506176,843,250147,688,000997,0002,289,664
8Jan 10, 2026 14:424,507172,831,552147,747,000998,0002,289,664
9Jan 10, 2026 14:424,508171,831,031146,759,0001,996,0002,289,664
10Jan 10, 2026 14:424,508174,803,264146,769,0001,996,0002,289,664
11Jan 10, 2026 14:424,509178,972,417146,786,0001,997,0002,289,664
12Jan 10, 2026 14:414,512178,197,954147,903,000999,0002,408,448
13Jan 10, 2026 14:424,512181,386,611147,897,000999,0002,400,256
14Jan 10, 2026 14:414,513178,990,745147,928,000999,0002,400,256
15Jan 10, 2026 14:414,515171,820,991146,981,0001,999,0002,396,160
16Jan 10, 2026 14:424,516179,721,990147,020,0002,000,0002,289,664
17Jan 10, 2026 14:414,521174,503,760147,187,0002,002,0002,289,664
18Jan 10, 2026 14:414,547185,122,939149,065,0001,000,0002,404,352