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 listJul 29, 2022 05:41Robert BurkeRobert BurkeScore: 11,874Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2022 05:4111,645411,967,959351,272,00033,025,0002,269,184
2Jul 29, 2022 05:4111,679439,292,471385,420,36402,265,088
3Jul 29, 2022 05:4111,709453,242,050386,404,01502,265,088
4Jul 29, 2022 05:4111,732409,860,589359,137,00028,010,0002,494,464
5Jul 29, 2022 05:4111,750418,412,610354,786,00032,980,0002,490,368
6Jul 29, 2022 05:4111,871416,202,107362,757,00028,980,0002,408,448
7Jul 29, 2022 05:4111,874411,368,840361,858,00029,988,0002,428,928
8Jul 29, 2022 05:4111,877412,954,447355,953,00035,995,0002,453,504
9Jul 29, 2022 05:4111,900420,062,481364,727,00027,979,0002,265,088
10Jul 29, 2022 05:4111,902462,220,802392,750,00402,260,992
11Jul 29, 2022 05:4111,902416,340,979360,786,00031,981,0002,269,184
12Jul 29, 2022 05:4112,009417,829,415365,282,00031,023,0002,486,272