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 22, 2025 17:45zielajzielajScore: 4,694Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2025 18:564,579170,039,982138,089,00013,008,0002,306,048
2Dec 22, 2025 18:564,585175,466,174140,286,00011,022,0002,322,432
3Dec 22, 2025 18:564,594179,067,764134,644,00016,955,0002,420,736
4Dec 22, 2025 18:564,597175,945,543145,702,0005,987,0002,330,624
5Dec 22, 2025 18:564,616172,433,553138,303,00014,030,0002,330,624
6Dec 22, 2025 18:564,648179,353,244139,336,00014,033,0002,289,664
7Dec 22, 2025 18:564,654181,285,968140,618,00012,964,0002,420,736
8Dec 22, 2025 18:564,654177,261,989143,533,00010,037,0002,318,336
9Dec 22, 2025 17:454,693182,470,065144,866,0009,990,0002,416,640
10Dec 22, 2025 17:454,694174,235,226146,896,0007,994,0002,306,048
11Dec 22, 2025 17:454,709185,616,009146,383,0009,023,0002,351,104
12Dec 22, 2025 17:454,724180,519,725139,901,00015,988,0002,330,624
13Dec 22, 2025 17:454,726183,763,689144,966,00010,997,0002,310,144
14Dec 22, 2025 17:454,734179,095,200145,204,00011,015,0002,408,448
15Dec 22, 2025 17:454,753176,962,692146,862,0009,990,0002,269,184
16Dec 22, 2025 17:454,754183,244,648145,892,00010,991,0002,338,816
17Dec 22, 2025 18:564,936186,298,470147,905,00014,990,0002,396,160
18Dec 22, 2025 17:455,093196,762,010159,075,0009,004,0002,318,336