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 listMay 11, 2024 22:52Joad NacerJoad NacerScore: 13,191Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2024 22:5212,758447,567,588333,003,00088,000,0002,277,376
2May 11, 2024 22:5212,809448,590,437333,759,00088,936,0002,277,376
3May 11, 2024 22:5212,829449,858,861332,506,00090,865,0002,494,464
4May 11, 2024 22:5212,833446,263,751334,589,00088,890,0002,416,640
5May 11, 2024 22:5212,905453,898,017333,900,00091,972,0002,408,448
6May 11, 2024 22:5213,044454,323,928337,578,00092,884,0002,367,488
7May 11, 2024 22:5213,191461,071,000346,453,00088,859,0002,412,544
8May 11, 2024 22:5213,212465,849,065347,210,00088,798,0002,453,504
9May 11, 2024 22:5213,252510,827,728437,314,51802,211,840
10May 11, 2024 22:5213,270466,818,068350,131,00087,782,0002,445,312
11May 11, 2024 22:5213,509512,309,518445,813,14102,211,840
12May 11, 2024 22:5213,996514,865,014461,872,81102,195,456