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 5, 2025 10:04CadovvlCadovvlScore: 75,798Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 5, 2025 10:1174,6552,491,680,4722,404,673,00058,942,0002,260,992
2Dec 5, 2025 10:0475,1452,505,436,3832,426,799,00052,973,0002,314,240
3Dec 5, 2025 10:1175,4502,518,082,5102,444,881,00044,979,0002,277,376
4Dec 5, 2025 10:0475,5072,521,298,3032,445,753,00045,976,0002,277,376
5Dec 5, 2025 10:0475,6122,524,872,3842,446,236,00048,964,0002,457,600
6Dec 5, 2025 10:1175,6242,524,359,1892,446,634,00048,972,0002,277,376
7Dec 5, 2025 10:1175,6272,524,264,4212,444,730,00050,973,0002,277,376
8Dec 5, 2025 10:1175,7002,531,139,4352,443,115,00054,980,0002,424,832
9Dec 5, 2025 10:0475,7132,523,951,0462,454,548,00043,973,0002,277,376
10Dec 5, 2025 10:1175,7982,533,935,5862,448,378,00052,964,0002,355,200
11Dec 5, 2025 10:0475,8382,527,572,6382,446,682,00055,969,0002,445,312
12Dec 5, 2025 10:0475,8702,535,682,6532,451,735,00051,973,0002,445,312
13Dec 5, 2025 10:0475,8922,535,284,3172,457,474,00046,970,0002,277,376
14Dec 5, 2025 10:0475,8932,529,012,6572,458,487,00045,971,0002,277,376
15Dec 5, 2025 10:1175,8982,530,125,0702,462,661,00041,977,0002,277,376
16Dec 5, 2025 10:1176,0432,536,348,5652,459,435,00049,968,0002,506,752
17Dec 5, 2025 10:0476,1402,540,675,5822,462,664,00049,972,0002,277,376
18Dec 5, 2025 10:1176,1892,544,374,9412,468,261,00045,967,0002,277,376