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 listNov 11, 2025 22:40Aniruddha DebAniruddha DebError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 15, 2026 20:31Andrew Epstein11.09CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 20:350149,324,69771,730,00068,552,0002,121,728expected "1075 ", got "926 "stderr
2Oct 15, 2026 20:350577,574,131249,194,000242,566,0002,162,688expected "92428 ", got "76667 "stderr
3Oct 15, 2026 20:350151,417,17071,191,00071,210,0002,121,728expected "28 ", got "21 "stderr
4Nov 11, 2025 22:4014,666507,521,231421,118,00062,868,0002,330,624
5Nov 11, 2025 22:4014,719515,243,127429,753,00055,967,0002,351,104
6Nov 11, 2025 22:4014,756516,414,222428,075,00058,872,0002,445,312
7Nov 11, 2025 22:4014,758514,817,015419,157,00067,863,0002,408,448
8Nov 11, 2025 22:4014,780514,004,886420,906,00066,826,0002,531,328
9Nov 11, 2025 22:4014,793522,217,546433,267,00054,907,0002,363,392
10Nov 11, 2025 22:4014,860516,622,908437,459,00052,934,0002,392,064
11Nov 11, 2025 22:4015,319532,940,838454,581,00050,953,0002,404,352
12Nov 11, 2025 22:4016,210561,888,054471,069,00063,873,0002,519,040