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:24Robert BurkeRobert BurkeScore: 12,934Success
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:2412,639440,873,849391,069,00026,004,0002,469,888
2Jul 29, 2022 05:2412,729441,633,494392,065,00028,004,0002,285,568
3Jul 29, 2022 05:2412,783451,108,409390,860,00030,988,0002,461,696
4Jul 29, 2022 05:2412,786441,559,482391,945,00029,995,0002,449,408
5Jul 29, 2022 05:2412,857446,452,762396,263,00028,018,0002,457,600
6Jul 29, 2022 05:2412,906452,681,682395,891,00029,991,0002,306,048
7Jul 29, 2022 05:2412,934492,530,619426,836,29602,228,224
8Jul 29, 2022 05:2412,949454,586,530397,291,00030,022,0002,449,408
9Jul 29, 2022 05:2412,991495,428,563428,700,27502,236,416
10Jul 29, 2022 05:2413,011459,038,632395,346,00034,029,0002,461,696
11Jul 29, 2022 05:2413,095458,603,228403,138,00029,009,0002,506,752
12Jul 29, 2022 05:2413,243506,189,672437,020,06502,236,416