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 listDec 29, 2024 00:59Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2024 00:5800000Error: No answer to stdout. Died or killed?
2Dec 29, 2024 01:018,575305,714,530276,981,0005,999,0002,510,848
3Dec 29, 2024 00:578,591313,798,500275,506,0007,985,0002,510,848
4Dec 29, 2024 00:578,596309,359,188278,661,0004,993,0002,510,848
5Dec 29, 2024 01:018,610311,525,270279,114,0005,002,0002,281,472
6Dec 29, 2024 00:578,637317,313,933279,020,0006,000,0002,387,968
7Dec 29, 2024 00:578,639312,690,346281,081,0004,001,0002,502,656
8Dec 29, 2024 00:578,665308,382,413280,953,0004,999,0002,498,560
9Dec 29, 2024 00:578,668308,802,844280,045,0006,000,0002,281,472
10Dec 29, 2024 00:578,673310,445,100281,203,0005,003,0002,506,752
11Dec 29, 2024 00:578,688315,368,420280,726,0005,994,0002,523,136
12Dec 29, 2024 01:018,693309,879,129280,859,0005,996,0002,338,816
13Dec 29, 2024 00:578,746312,868,443284,613,0003,994,0002,379,776
14Dec 29, 2024 00:598,802317,355,142285,481,0004,990,0002,363,392
15Dec 29, 2024 01:008,805316,773,829284,584,0005,991,0002,465,792
16Dec 29, 2024 01:008,872315,705,888289,765,0002,997,0002,465,792
17Dec 29, 2024 00:598,884318,706,175287,179,0006,003,0002,326,528
18Dec 29, 2024 01:008,904321,510,977286,847,0006,996,0002,519,040
19Dec 29, 2024 00:598,922313,103,556289,438,0004,990,0002,326,528