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 listOct 1, 2023 13:00apuxbtapuxbtError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 1, 2023 13:0500000Error: expected "1022251 ", got "1022252 "stderr
2Oct 1, 2023 13:0517,493612,109,749560,265,00017,008,0002,498,560
3Oct 1, 2023 13:0117,498602,436,296559,439,00017,981,0002,441,216
4Oct 1, 2023 13:0517,576607,855,875563,038,00016,971,0002,314,240
5Oct 1, 2023 13:0117,594606,602,418561,602,00018,986,0002,310,144
6Oct 1, 2023 13:0517,640607,765,787567,118,00015,003,0002,301,952
7Oct 1, 2023 13:0017,652612,836,839569,514,00012,988,0002,490,368
8Oct 1, 2023 13:0117,654610,453,957568,594,00013,990,0002,265,088
9Oct 1, 2023 13:0517,699614,755,307568,091,00015,974,0002,510,848
10Oct 1, 2023 13:0517,704651,941,551584,236,62402,240,512
11Oct 1, 2023 13:0117,736613,890,986568,282,00017,008,0002,326,528
12Oct 1, 2023 13:0117,743656,371,993585,532,52302,224,128
13Oct 1, 2023 13:0117,746610,769,443569,641,00015,989,0002,310,144
14Oct 1, 2023 13:0017,749648,337,594585,718,20402,236,416
15Oct 1, 2023 13:0017,755613,571,072570,928,00014,998,0002,269,184
16Oct 1, 2023 13:0017,765616,210,740569,242,00017,007,0002,502,656
17Oct 1, 2023 13:0517,765612,295,322569,238,00017,007,0002,367,488
18Oct 1, 2023 13:0517,793613,996,059571,153,00016,004,0002,318,336
19Oct 1, 2023 13:0017,796616,073,214571,261,00016,007,0002,383,872
20Oct 1, 2023 13:0117,796656,270,954587,272,92902,232,320
21Oct 1, 2023 13:0117,816662,901,369587,930,53802,232,320
22Oct 1, 2023 13:0117,831614,707,557574,426,00013,986,0002,363,392
23Oct 1, 2023 13:0017,839613,030,412576,697,00011,993,0002,486,272
24Oct 1, 2023 13:0517,854657,175,053589,175,36202,260,992
25Oct 1, 2023 13:0017,870614,692,388573,719,00015,992,0002,314,240
26Oct 1, 2023 13:0017,873651,666,914589,808,72302,240,512
27Oct 1, 2023 13:0017,875613,070,052573,886,00015,996,0002,465,792
28Oct 1, 2023 13:0117,881618,492,550580,085,00010,001,0002,318,336
29Oct 1, 2023 13:0017,884653,487,806590,187,49702,232,320
30Oct 1, 2023 13:0017,892615,461,401569,462,00020,980,0002,392,064
31Oct 1, 2023 13:0517,912664,579,224591,091,53402,236,416
32Oct 1, 2023 13:0117,933619,672,532575,791,00015,994,0002,322,432
33Oct 1, 2023 13:0017,934623,170,268576,820,00014,995,0002,322,432
34Oct 1, 2023 13:0517,981618,859,073578,390,00014,984,0002,408,448
35Oct 1, 2023 13:0517,994621,019,105576,817,00016,994,0002,318,336
36Oct 1, 2023 13:0118,024623,403,982578,786,00015,994,0002,486,272
37Oct 1, 2023 13:0518,045620,245,614581,491,00013,987,0002,502,656