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 16:23Joad NacerJoad NacerScore: 19,023Success
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 16:2317,538648,239,024578,744,40502,277,376
2May 11, 2024 16:2317,600651,126,297580,788,88902,252,800
3May 11, 2024 16:2317,799656,481,363587,372,86702,228,224
4May 11, 2024 16:2318,884650,284,631449,398,000173,767,0002,265,088
5May 11, 2024 16:2318,952658,702,788456,568,000168,840,0002,506,752
6May 11, 2024 16:2318,984653,315,830468,600,000157,865,0002,379,776
7May 11, 2024 16:2319,023655,027,119466,831,000160,941,0002,277,376
8May 11, 2024 16:2319,034658,259,251458,364,000169,764,0002,457,600
9May 11, 2024 16:2319,071654,274,751461,513,000167,823,0002,338,816
10May 11, 2024 16:2319,073654,080,256475,544,000153,852,0002,375,680
11May 11, 2024 16:2319,249661,264,885456,444,000178,782,0002,293,760
12May 11, 2024 16:2319,559669,196,002467,603,000177,849,0002,396,160