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 30, 2022 17:58Bernard TeoBernard TeoScore: 4,877Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 30, 2022 17:584,757179,486,052151,975,0004,999,0002,347,008
2Aug 30, 2022 17:584,769180,730,434152,364,0005,011,0002,273,280
3Aug 30, 2022 17:584,774190,912,575150,525,0007,024,0002,273,280
4Aug 30, 2022 17:584,776187,105,884151,631,0005,985,0002,379,776
5Aug 30, 2022 17:584,782178,283,411154,811,0002,996,0002,502,656
6Aug 30, 2022 17:584,789179,897,169154,042,0004,001,0002,363,392
7Aug 30, 2022 17:584,805183,436,010153,533,0005,017,0002,273,280
8Aug 30, 2022 17:584,809184,487,383153,703,0004,990,0002,449,408
9Aug 30, 2022 17:584,823181,983,745153,155,0006,006,0002,465,792
10Aug 30, 2022 17:584,847186,939,544157,941,0001,999,0002,387,968
11Aug 30, 2022 17:584,856230,460,414160,260,07602,293,760
12Aug 30, 2022 17:584,857181,729,799157,284,0003,005,0002,461,696
13Aug 30, 2022 17:584,867181,673,857157,627,0002,992,0002,297,856
14Aug 30, 2022 17:584,867187,037,483155,630,0004,988,0002,506,752
15Aug 30, 2022 17:584,870189,784,638155,733,0004,991,0002,383,872
16Aug 30, 2022 17:584,872187,517,347157,795,0002,996,0002,428,928
17Aug 30, 2022 17:584,877183,847,759156,929,0003,998,0002,326,528
18Aug 30, 2022 17:584,878183,353,352156,985,0003,999,0002,396,160
19Aug 30, 2022 17:584,889225,863,728161,327,32302,297,856
20Aug 30, 2022 17:584,890184,954,361156,369,0005,011,0002,281,472
21Aug 30, 2022 17:584,905222,906,822161,878,34902,297,856
22Aug 30, 2022 17:584,912221,840,798162,092,59002,293,760
23Aug 30, 2022 17:584,914221,861,341162,148,73702,301,952
24Aug 30, 2022 17:584,914227,455,937162,149,35202,174,976
25Aug 30, 2022 17:584,915229,134,885162,194,28802,293,760
26Aug 30, 2022 17:584,915227,886,702162,196,63902,297,856
27Aug 30, 2022 17:584,919228,040,094162,338,23802,289,664
28Aug 30, 2022 17:584,930227,644,096162,690,45702,293,760
29Aug 30, 2022 17:584,933224,388,369162,794,06802,297,856
30Aug 30, 2022 17:584,934232,685,582162,826,83902,297,856
31Aug 30, 2022 17:584,936228,104,822162,896,42402,297,856
32Aug 30, 2022 17:584,943224,357,256163,116,83202,301,952
33Aug 30, 2022 17:584,951225,783,469163,395,95002,293,760