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 02:38Josu San MartinJosu San MartinScore: 4,817Success
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 02:374,673181,860,812153,224,0001,001,0002,396,160
2Jan 12, 2026 02:374,675180,326,976152,282,0002,003,0002,387,968
3Jan 12, 2026 02:374,677178,752,021152,333,0002,004,0002,289,664
4Jan 12, 2026 02:374,677179,429,746154,333,00002,396,160
5Jan 12, 2026 02:384,678177,202,281154,372,00002,289,664
6Jan 12, 2026 02:384,679181,125,111153,413,0001,002,0002,289,664
7Jan 12, 2026 02:374,679187,015,031152,409,0002,005,0002,396,160
8Jan 12, 2026 02:374,687180,407,252152,674,0001,995,0002,289,664
9Jan 12, 2026 02:384,694181,359,323152,909,0001,998,0002,289,664
10Jan 12, 2026 02:334,817185,776,836154,969,0003,999,0002,289,664
11Jan 12, 2026 02:334,817180,893,466157,961,000999,0002,400,256
12Jan 12, 2026 02:374,821182,148,230157,103,0002,001,0002,400,256
13Jan 12, 2026 02:334,824181,681,618158,186,0001,001,0002,396,160
14Jan 12, 2026 02:374,826182,719,840158,264,0001,001,0002,289,664
15Jan 12, 2026 02:374,932194,778,270161,765,000998,0002,400,256
16Jan 12, 2026 02:384,960189,451,439160,700,0002,994,0002,289,664
17Jan 12, 2026 02:384,960184,415,457162,698,000998,0002,289,664
18Jan 12, 2026 02:384,961191,198,182161,716,0001,996,0002,289,664