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:56Bernard 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 16:1800000Error: expected "1020644 ", got "1020643"
2Aug 29, 2022 16:1800000Error: expected "1022966 ", got "1022965"
3Aug 29, 2022 15:5900000Error: expected "1022794 ", got "1022793"
4Aug 29, 2022 15:5600000Error: expected "1020374 ", got "1020373"
5Aug 29, 2022 15:5600000Error: expected "1020071 ", got "1020070"
6Aug 29, 2022 15:5600000Error: expected "1026765 ", got "1026764"
7Aug 29, 2022 16:184,817224,475,398158,971,19802,301,952
8Aug 29, 2022 16:184,823246,214,261159,161,32702,289,664
9Aug 29, 2022 15:594,827222,843,524159,297,72002,301,952
10Aug 29, 2022 16:184,834227,361,170159,509,12402,301,952
11Aug 29, 2022 15:594,836237,911,871159,572,98702,301,952
12Aug 29, 2022 15:564,837256,822,810159,631,31502,301,952
13Aug 29, 2022 15:594,837227,398,582159,611,43502,293,760
14Aug 29, 2022 15:594,839229,371,614159,685,17102,297,856
15Aug 29, 2022 15:594,845219,600,251159,871,58102,179,072
16Aug 29, 2022 15:594,851231,277,381160,066,56402,297,856
17Aug 29, 2022 16:184,852221,020,749160,113,37202,297,856
18Aug 29, 2022 16:184,853220,905,272160,142,33102,301,952
19Aug 29, 2022 16:184,855220,144,982160,231,26702,297,856
20Aug 29, 2022 15:594,858238,594,530160,317,79102,293,760
21Aug 29, 2022 15:564,860211,876,975160,383,10302,301,952
22Aug 29, 2022 15:564,861223,213,580160,425,88302,256,896
23Aug 29, 2022 15:564,867229,137,363160,616,49702,301,952
24Aug 29, 2022 15:564,867224,123,957160,610,73102,293,760
25Aug 29, 2022 16:184,867228,435,352160,626,24802,293,760
26Aug 29, 2022 15:594,870213,423,788160,712,97002,297,856
27Aug 29, 2022 16:184,873230,344,549160,793,80402,297,856
28Aug 29, 2022 15:564,873222,654,387160,793,46602,293,760
29Aug 29, 2022 15:594,874215,622,640160,846,75502,301,952
30Aug 29, 2022 15:594,875224,224,885160,889,46402,293,760
31Aug 29, 2022 15:564,877237,606,736160,935,78502,301,952
32Aug 29, 2022 15:594,877235,602,983160,952,71002,301,952
33Aug 29, 2022 15:594,879222,622,302161,014,42402,285,568
34Aug 29, 2022 16:184,887220,327,233161,278,18602,297,856
35Aug 29, 2022 15:564,893221,786,614161,474,95002,301,952
36Aug 29, 2022 16:185,041237,389,473166,344,44102,301,952
37Aug 29, 2022 16:185,103238,629,238168,394,11302,256,896
38Aug 29, 2022 15:565,111227,451,743168,647,67002,297,856
39Aug 29, 2022 16:185,154240,240,440170,088,36602,252,800