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:19Kenneth MaplesKenneth MaplesScore: 17,084Success
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:1916,709616,216,030551,384,68002,240,512
2Dec 19, 2023 06:1916,752615,572,938552,819,26902,240,512
3Dec 19, 2023 06:1916,827616,695,110555,295,69002,240,512
4Dec 19, 2023 06:1916,979589,913,167545,292,00015,008,0002,408,448
5Dec 19, 2023 06:1917,008590,864,873542,267,00019,009,0002,461,696
6Dec 19, 2023 06:1917,063586,166,580545,077,00018,002,0002,490,368
7Dec 19, 2023 06:1917,084586,794,797549,782,00013,994,0002,314,240
8Dec 19, 2023 06:1917,136592,150,881545,521,00019,982,0002,301,952
9Dec 19, 2023 06:1917,274598,341,989549,037,00021,001,0002,277,376
10Dec 19, 2023 06:1917,448603,025,597554,798,00020,992,0002,478,080
11Dec 19, 2023 06:1917,486603,527,478560,052,00016,971,0002,363,392
12Dec 19, 2023 06:1917,501601,121,616558,543,00018,984,0002,408,448