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 listDec 12, 2025 15:35Rajarshi BasuRajarshi BasuError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 15, 2026 20:35Andrew Epstein14.93CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 20:42094,151,44777,033,0006,388,00016,384Exit with code 1:
2Dec 12, 2025 15:359,583341,301,506309,225,0007,005,0002,514,944
3Dec 12, 2025 15:369,602344,511,026305,862,00010,995,0002,289,664
4Dec 12, 2025 15:369,605343,835,999309,976,0006,999,0002,506,752
5Dec 12, 2025 15:359,612340,510,474309,204,0008,005,0002,506,752
6Dec 12, 2025 15:369,621353,628,373305,511,00011,980,0002,506,752
7Dec 12, 2025 15:359,623343,878,407308,575,0008,987,0002,482,176
8Dec 12, 2025 15:359,638341,075,927312,044,0006,000,0002,379,776
9Dec 12, 2025 15:369,638344,966,959307,044,00011,001,0002,506,752
10Dec 12, 2025 15:369,655341,774,103310,622,0007,990,0002,502,656
11Dec 12, 2025 15:369,658342,562,887307,724,00010,990,0002,359,296
12Dec 12, 2025 15:369,670345,856,704310,115,0009,003,0002,461,696
13Dec 12, 2025 15:359,698348,186,475312,029,0008,000,0002,428,928
14Dec 12, 2025 15:369,727345,694,969313,004,0008,000,0002,285,568
15Dec 12, 2025 15:359,728348,459,297314,030,0007,000,0002,506,752
16Dec 12, 2025 15:359,764346,277,069316,221,0006,004,0002,510,848
17Dec 12, 2025 15:369,961359,138,653318,728,0009,991,0002,506,752
18Dec 12, 2025 15:3510,024358,494,663322,792,0007,994,0002,494,464
19Dec 12, 2025 15:3510,069357,618,535319,315,00012,972,0002,416,640