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 listFeb 17, 2023 21:03LiamLiamError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 20, 2023 01:0100000Error: expected "1023178 ", got "1023176 "
2Feb 20, 2023 01:0000000Error: expected "1024679 ", got "1024670 "
3Feb 20, 2023 01:0100000Error: expected "1024665 ", got "1024663 "
4Feb 20, 2023 01:0100000Error: expected "1024925 ", got "1024923 "
5Feb 20, 2023 01:0100000Error: expected "1024666 ", got "1024665 "
6Feb 20, 2023 01:0100000Error: expected "1023645 ", got "1023641 "
7Feb 20, 2023 01:0100000Error: expected "1019895 ", got "1019892 "
8Feb 20, 2023 01:0100000Error: expected "1025747 ", got "1025742 "
9Feb 20, 2023 01:0100000Error: expected "1025523 ", got "1025520 "
10Feb 20, 2023 01:0000000Error: expected "1022293 ", got "1022289 "
11Feb 20, 2023 01:0100000Error: expected "1025686 ", got "1025685 "
12Feb 20, 2023 01:0500000Error: expected "1019983 ", got "1013794 "
13Feb 20, 2023 01:0600000Error: expected "1021595 ", got "1009005 "
14Feb 20, 2023 01:0700000Error: expected "1025515 ", got "919084 "
15Feb 20, 2023 01:0700000Error: expected "1019492 ", got "1018880 "
16Feb 20, 2023 01:0800000Error: expected "1024415 ", got "1023779 "
17Mar 19, 2023 18:1400000Error: expected "1023329 ", got "918229 "
18Feb 20, 2023 00:5700000Error: expected "1022566 ", got "1022542 "
19Feb 20, 2023 00:5700000Error: expected "1018834 ", got "1018833 "
20Feb 20, 2023 00:5700000Error: expected "1025299 ", got "1025292 "
21Feb 20, 2023 00:5700000Error: expected "1018868 ", got "1018865 "
22Feb 20, 2023 00:5600000Error: expected "1025248 ", got "1025246 "
23Feb 20, 2023 01:0435,4151,231,126,3691,168,691,53802,179,072
24Feb 20, 2023 01:0435,6091,251,971,0831,175,100,44702,187,264
25Feb 20, 2023 01:0436,1181,263,266,0911,191,902,59202,195,456
26Feb 20, 2023 00:5958,2401,979,676,3401,921,935,14602,187,264
27Feb 20, 2023 00:5958,8952,000,877,0821,943,539,23802,187,264
28Feb 20, 2023 00:5962,3362,123,605,3912,057,076,84202,187,264
29Feb 20, 2023 00:5962,4832,131,186,0142,061,954,21502,183,168
30Feb 20, 2023 00:5962,5012,121,459,3892,062,534,50002,191,360
31Feb 20, 2023 00:5962,7122,130,023,7952,069,482,80002,174,976
32Feb 17, 2023 21:0383,0172,806,177,3472,739,573,09602,297,856
33Feb 17, 2023 21:0383,2982,810,074,8662,748,833,64402,301,952
34Feb 17, 2023 21:0383,5862,822,144,1202,758,323,12002,179,072