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 8, 2023 17:22matsuoka-601matsuoka-601Score: 9,439Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 8, 2023 17:229,411334,350,907287,582,00022,966,0002,449,408
2Aug 8, 2023 17:229,415338,400,858292,718,00017,982,0002,338,816
3Aug 8, 2023 17:229,418340,701,566290,800,00019,986,0002,531,328
4Aug 8, 2023 17:229,423334,053,227289,971,00020,997,0002,330,624
5Aug 8, 2023 17:229,430372,041,949311,183,58302,281,472
6Aug 8, 2023 17:229,436340,252,465293,372,00018,022,0002,314,240
7Aug 8, 2023 17:229,439341,439,756292,504,00018,967,0002,297,856
8Aug 8, 2023 17:229,447334,618,815295,757,00015,986,0002,449,408
9Aug 8, 2023 17:229,448385,331,684311,797,98002,273,280
10Aug 8, 2023 17:229,453336,075,884289,959,00021,996,0002,367,488
11Aug 8, 2023 17:229,465374,110,323312,338,39802,265,088
12Aug 8, 2023 17:229,466337,870,042292,350,00020,024,0002,490,368