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 listAug 29, 2022 15:48Bernard TeoBernard TeoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 29, 2022 15:5000000Error: expected "1022176 ", got "1022175"
2Aug 29, 2022 15:4800000Error: expected "1026063 ", got "1026062"
3Aug 29, 2022 15:484,877222,981,455160,925,95302,301,952
4Aug 29, 2022 15:484,892220,597,505161,422,10302,293,760
5Aug 29, 2022 15:484,893218,774,444161,468,82702,297,856
6Aug 29, 2022 15:484,908226,593,715161,954,39302,174,976
7Aug 29, 2022 15:504,910241,891,696162,040,56502,293,760
8Aug 29, 2022 15:484,916217,303,254162,242,89102,293,760
9Aug 29, 2022 15:484,932243,475,341162,758,23502,293,760
10Aug 29, 2022 15:484,954232,662,016163,474,39702,297,856
11Aug 29, 2022 15:484,964226,552,012163,819,65402,293,760
12Aug 29, 2022 15:484,978232,682,443164,281,58702,301,952
13Aug 29, 2022 15:504,989223,429,849164,626,39402,297,856
14Aug 29, 2022 15:484,991218,514,925164,695,53002,301,952
15Aug 29, 2022 15:484,992233,787,160164,720,50202,293,760
16Aug 29, 2022 15:484,996237,497,302164,860,00002,297,856
17Aug 29, 2022 15:485,000232,040,993164,994,37402,297,856
18Aug 29, 2022 15:485,001227,413,744165,025,01802,293,760
19Aug 29, 2022 15:505,007221,540,069165,238,35402,301,952
20Aug 29, 2022 15:485,014229,325,556165,477,52502,293,760