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 listMay 12, 2024 00:28Joad NacerJoad NacerScore: 10,441Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 12, 2024 00:2810,055353,412,749274,838,00056,966,0002,273,280
2May 12, 2024 00:2810,092353,631,219277,020,00056,004,0002,433,024
3May 12, 2024 00:2810,099361,003,200277,388,00055,876,0002,453,504
4May 12, 2024 00:2810,239362,894,039280,912,00056,982,0002,363,392
5May 12, 2024 00:2910,351408,933,445341,593,39102,232,320
6May 12, 2024 00:2910,352400,047,172341,611,79902,236,416
7May 12, 2024 00:2810,391421,282,006342,918,16202,211,840
8May 12, 2024 00:2910,413410,072,385343,616,51602,232,320
9May 12, 2024 00:2810,426399,933,032344,046,64702,232,320
10May 12, 2024 15:1610,441403,556,806344,544,54302,236,416
11May 12, 2024 00:2810,504376,622,281290,688,00055,940,0002,424,832
12May 12, 2024 15:1610,524414,979,250347,306,91802,232,320
13May 12, 2024 00:2810,556380,547,944289,466,00058,891,0002,433,024
14May 12, 2024 15:1610,586401,824,197349,325,82502,236,416
15May 12, 2024 00:2810,610379,409,195291,122,00059,024,0002,428,928
16May 12, 2024 00:2810,630374,694,642294,833,00055,968,0002,387,968
17May 12, 2024 00:2810,875386,654,160300,895,00057,979,0002,433,024
18May 12, 2024 00:2810,970427,806,655362,021,78702,228,224