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 listSep 30, 2024 13:24Joad NacerJoad NacerError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 30, 2024 13:2400000Error: expected "1024582 ", got "1024612 "stderr
2Sep 25, 2024 17:3400000Error: No answer to stdout. Died or killed?stderr
3Sep 25, 2024 17:3200000Error: expected "1019663 ", got "1019950 "stderr
4Sep 25, 2024 17:3200000Error: No answer to stdout. Died or killed?stderr
5Sep 25, 2024 17:2600000Error: No answer to stdout. Died or killed?stderr
6Sep 25, 2024 17:214,857184,186,911148,250,00012,020,0002,326,528
7Sep 25, 2024 18:394,871183,850,983146,757,00013,976,0002,293,760
8Sep 25, 2024 17:344,880186,380,830147,030,00014,002,0002,461,696
9Sep 25, 2024 17:264,881187,804,787149,054,00012,004,0002,338,816
10Sep 25, 2024 18:394,884187,954,433146,148,00015,015,0002,461,696
11Sep 25, 2024 17:344,887187,799,150147,247,00014,023,0002,363,392
12Sep 25, 2024 17:214,888186,881,297148,268,00013,023,0002,469,888
13Sep 30, 2024 13:274,890190,214,367147,339,00014,032,0002,334,720
14Sep 25, 2024 18:394,893181,661,691145,517,00015,947,0002,363,392
15Sep 25, 2024 17:264,894191,486,802148,552,00012,960,0002,334,720
16Sep 25, 2024 17:324,895187,218,564149,491,00012,039,0002,334,720
17Sep 25, 2024 17:214,896184,469,788147,596,00013,961,0002,469,888
18Sep 25, 2024 18:394,896186,764,498145,618,00015,958,0002,457,600
19Sep 25, 2024 17:264,901188,392,532147,766,00013,977,0002,461,696
20Sep 25, 2024 17:264,903189,559,072147,808,00013,981,0002,334,720
21Sep 25, 2024 18:394,905187,730,613146,865,00014,986,0002,457,600
22Sep 25, 2024 17:214,910184,097,749148,026,00014,002,0002,469,888
23Sep 25, 2024 18:394,913190,026,890148,129,00014,012,0002,334,720
24Sep 25, 2024 17:344,919193,012,635149,307,00013,026,0002,334,720
25Sep 25, 2024 17:264,924188,673,431146,553,00015,951,0002,338,816
26Sep 25, 2024 17:214,925192,571,264147,569,00014,956,0002,469,888
27Sep 25, 2024 18:394,926195,151,793148,586,00013,961,0002,453,504
28Sep 25, 2024 18:394,926187,652,393147,587,00014,958,0002,334,720
29Sep 25, 2024 18:394,926194,828,018147,585,00014,957,0002,465,792
30Sep 25, 2024 18:394,927187,581,288147,620,00014,961,0002,461,696
31Sep 25, 2024 17:264,927190,216,051146,620,00015,958,0002,334,720
32Sep 25, 2024 17:344,927188,235,581146,632,00015,960,0002,465,792
33Sep 25, 2024 18:394,935191,005,028148,862,00013,987,0002,347,008
34Sep 30, 2024 13:264,937188,561,391148,941,00013,994,0002,334,720
35Sep 25, 2024 18:394,937188,611,934150,919,00011,993,0002,510,848
36Sep 25, 2024 17:214,947189,854,181148,231,00015,023,0002,461,696
37Sep 25, 2024 17:344,947186,755,634151,245,00012,019,0002,453,504
38Sep 25, 2024 17:344,950185,526,025148,419,00014,941,0002,289,664
39Sep 25, 2024 17:324,956190,576,277151,584,00011,967,0002,469,888
40Sep 25, 2024 18:394,959195,474,886149,680,00013,970,0002,338,816
41Sep 25, 2024 18:394,959191,533,309148,687,00014,968,0002,469,888
42Sep 30, 2024 13:244,963187,506,762150,783,00012,981,0002,334,720
43Sep 25, 2024 17:344,966191,238,936148,901,00014,990,0002,469,888
44Sep 30, 2024 13:274,970192,615,962153,010,00011,000,0002,469,888
45Sep 25, 2024 18:394,977191,977,593149,228,00015,023,0002,334,720
46Sep 25, 2024 18:394,986193,893,921150,574,00013,960,0002,338,816
47Sep 25, 2024 18:394,989187,482,404150,681,00013,970,0002,465,792
48Sep 25, 2024 18:394,994187,821,812151,814,00012,984,0002,465,792
49Sep 25, 2024 17:215,006187,354,082152,186,00013,015,0002,465,792
50Sep 25, 2024 17:345,008192,335,874151,249,00014,023,0002,461,696
51Sep 25, 2024 17:265,016189,453,154151,564,00013,959,0002,334,720
52Sep 25, 2024 17:265,025187,664,106151,831,00013,984,0002,342,912
53Sep 25, 2024 18:395,085190,016,213153,836,00013,985,0002,351,104
54Sep 25, 2024 17:215,117195,374,886154,887,00013,989,0002,330,624
55Sep 30, 2024 13:265,131200,163,539156,294,00013,024,0002,469,888
56Sep 30, 2024 13:245,206194,790,855156,815,00014,982,0002,457,600
57Sep 30, 2024 13:265,232199,913,100158,690,00013,972,0002,334,720
58Sep 25, 2024 18:395,241198,903,151162,945,0009,996,0002,326,528
59Sep 25, 2024 18:395,257191,445,729160,531,00012,962,0002,469,888
60Sep 25, 2024 18:395,257203,573,765159,512,00013,957,0002,461,696
61Sep 25, 2024 17:215,258200,195,441159,557,00013,961,0002,326,528
62Sep 25, 2024 17:325,262195,337,225159,682,00013,972,0002,461,696
63Sep 25, 2024 18:395,285197,376,042159,457,00014,949,0002,461,696
64Sep 25, 2024 17:265,294203,340,194160,722,00013,975,0002,334,720
65Sep 30, 2024 13:245,295197,216,875160,769,00013,979,0002,469,888
66Sep 25, 2024 18:395,304201,287,388161,016,00014,001,0002,334,720
67Sep 25, 2024 17:345,306202,755,302164,087,00011,005,0002,330,624
68Sep 30, 2024 13:275,316205,630,304158,482,00016,944,0002,461,696
69Sep 25, 2024 18:395,316201,003,879161,468,00013,954,0002,469,888
70Sep 25, 2024 18:395,324203,220,780163,719,00011,979,0002,342,912
71Sep 25, 2024 18:395,973221,073,978184,098,00013,006,0002,510,848