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 21, 2024 17:55Joad NacerJoad NacerScore: 10,611Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 21, 2024 17:559,726379,664,062320,966,77902,220,032
2May 21, 2024 17:559,808391,723,797323,666,37102,224,128
3May 21, 2024 17:559,811388,032,505323,775,62802,220,032
4May 21, 2024 17:5510,593374,481,544291,636,00057,927,0002,408,448
5May 21, 2024 17:5510,605371,847,581289,967,00059,993,0002,420,736
6May 21, 2024 17:5510,608375,032,987292,045,00058,008,0002,416,640
7May 21, 2024 17:5510,611377,387,983291,133,00059,027,0002,412,544
8May 21, 2024 17:5510,638373,904,425292,050,00059,010,0002,408,448
9May 21, 2024 17:5510,651376,302,472292,583,00058,916,0002,412,544
10May 21, 2024 17:5510,666377,185,799290,994,00060,998,0002,473,984
11May 21, 2024 17:5510,679379,443,137294,500,00057,901,0002,408,448
12May 21, 2024 17:5511,207391,876,192309,863,00059,973,0002,408,448