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:27Robert BurkeRobert BurkeScore: 12,879Success
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:2712,668444,378,830385,044,00033,003,0002,457,600
2Jul 29, 2022 05:2712,764443,562,401386,198,00035,017,0002,408,448
3Jul 29, 2022 05:2712,788490,348,321422,009,94302,240,512
4Jul 29, 2022 05:2712,791447,431,005391,109,00031,008,0002,314,240
5Jul 29, 2022 05:2712,863451,142,913392,429,00032,035,0002,461,696
6Jul 29, 2022 05:2712,879447,107,340400,003,00025,000,0002,334,720
7Jul 29, 2022 05:2712,879451,723,761398,017,00027,001,0002,465,792
8Jul 29, 2022 05:2712,885451,277,803400,201,00025,012,0002,469,888
9Jul 29, 2022 05:2712,922489,748,897426,411,24202,228,224
10Jul 29, 2022 05:2713,019454,459,855393,652,00035,968,0002,461,696
11Jul 29, 2022 05:2713,021452,504,575405,726,00023,983,0002,445,312
12Jul 29, 2022 05:2713,129497,463,633433,273,16602,228,224