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:27Josu San MartinJosu San MartinScore: 4,376Success
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:484,360167,207,655142,896,000999,0002,289,664
2Jan 12, 2026 00:094,366167,679,418143,084,0001,000,0002,289,664
3Jan 12, 2026 00:484,370168,131,414141,201,0003,004,0002,404,352
4Jan 12, 2026 00:484,370169,665,628142,208,0002,002,0002,392,064
5Jan 12, 2026 00:484,371172,587,810142,246,0002,003,0002,404,352
6Jan 12, 2026 00:484,371170,615,533142,250,0002,003,0002,289,664
7Jan 12, 2026 00:484,373165,715,582143,321,0001,002,0002,392,064
8Jan 12, 2026 00:484,373165,768,290142,321,0002,004,0002,404,352
9Jan 12, 2026 00:094,375171,611,609143,378,000995,0002,396,160
10Jan 12, 2026 00:484,376171,573,934143,419,0001,002,0002,289,664
11Jan 12, 2026 00:484,378171,395,819144,481,00002,289,664
12Jan 12, 2026 00:054,380173,638,402144,544,00002,289,664
13Jan 12, 2026 00:094,383177,252,850143,648,000997,0002,396,160
14Jan 12, 2026 00:054,388170,315,581142,793,0001,997,0002,404,352
15Jan 12, 2026 00:054,389168,396,132143,843,000998,0002,289,664
16Jan 12, 2026 02:274,402166,448,557144,265,0001,001,0002,392,064
17Jan 12, 2026 02:274,406172,149,909143,389,0002,005,0002,289,664
18Jan 12, 2026 02:274,408169,647,224143,460,0001,992,0002,289,664