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 28, 2024 15:29Joad NacerJoad NacerScore: 7,679Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2024 15:297,391316,020,365243,914,14702,228,224
2May 28, 2024 15:297,465276,488,000190,257,00056,075,0002,510,848
3May 28, 2024 15:297,466317,667,073246,390,03502,236,416
4May 28, 2024 15:297,518272,656,849192,078,00056,022,0002,269,184
5May 28, 2024 15:297,527313,950,294248,398,69602,224,128
6May 28, 2024 15:297,653279,407,242193,642,00058,891,0002,469,888
7May 28, 2024 15:297,679280,360,450193,559,00059,863,0002,433,024
8May 28, 2024 15:297,696278,550,985195,971,00057,991,0002,465,792
9May 28, 2024 15:297,706282,176,849196,238,00058,070,0002,433,024
10May 28, 2024 15:297,712285,866,577195,606,00058,881,0002,482,176
11May 28, 2024 15:297,718276,137,105196,755,00057,927,0002,510,848
12May 28, 2024 15:297,828287,559,681201,469,00056,850,0002,293,760