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 19, 2023 06:06Kenneth MaplesKenneth MaplesScore: 17,409Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 19, 2023 06:0616,895621,110,493557,537,06902,244,608
2Dec 19, 2023 06:0616,963641,201,621559,769,18202,236,416
3Dec 19, 2023 06:0616,984625,733,229560,459,55402,236,416
4Dec 19, 2023 06:0617,308592,543,569549,166,00022,006,0002,310,144
5Dec 19, 2023 06:0617,364594,619,791558,997,00013,999,0002,277,376
6Dec 19, 2023 06:0617,390597,492,357552,883,00020,995,0002,310,144
7Dec 19, 2023 06:0617,409599,782,337557,511,00016,985,0002,297,856
8Dec 19, 2023 06:0617,531608,401,572555,550,00022,981,0002,314,240
9Dec 19, 2023 06:0617,561605,343,558563,516,00015,986,0002,277,376
10Dec 19, 2023 06:0617,640603,461,081566,108,00016,003,0002,301,952
11Dec 19, 2023 06:0617,648610,430,279562,395,00019,978,0002,260,992
12Dec 19, 2023 06:0617,678610,635,360571,402,00011,987,0002,289,664