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 23:52Joad NacerJoad NacerScore: 12,502Success
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 23:5212,258475,216,944404,501,50202,211,840
2May 11, 2024 23:5212,439439,111,842351,575,00058,928,0002,416,640
3May 11, 2024 23:5212,461443,027,526349,341,00061,883,0002,416,640
4May 11, 2024 23:5212,472438,465,808352,630,00058,938,0002,400,256
5May 11, 2024 23:5212,495438,125,483351,435,00060,902,0002,498,560
6May 11, 2024 23:5212,496436,636,055354,451,00057,910,0002,428,928
7May 11, 2024 23:5212,502436,957,014351,630,00060,935,0002,396,160
8May 11, 2024 23:5212,526439,017,777354,445,00058,907,0002,379,776
9May 11, 2024 23:5212,693497,307,354418,863,45002,207,744
10May 11, 2024 23:5212,752486,380,286420,818,23902,306,048
11May 11, 2024 23:5212,832446,494,363364,531,00058,924,0002,408,448
12May 11, 2024 23:5212,890448,623,721367,470,00057,916,0002,306,048