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 12, 2024 00:14Joad NacerJoad NacerScore: 10,479Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 12, 2024 00:1410,186363,624,138281,114,00055,022,0002,416,640
2May 12, 2024 00:1410,236362,751,285281,814,00055,963,0002,404,352
3May 12, 2024 00:1410,243360,496,652280,011,00058,002,0002,514,944
4May 12, 2024 00:1410,319366,526,269284,600,00055,921,0002,420,736
5May 12, 2024 00:1410,344374,001,416281,473,00059,888,0002,449,408
6May 12, 2024 00:1710,350394,624,176341,550,01802,232,320
7May 12, 2024 00:1410,401369,169,891282,382,00060,866,0002,420,736
8May 12, 2024 00:1510,478405,668,030345,782,65302,220,032
9May 12, 2024 00:1710,478409,116,961345,773,73602,228,224
10May 12, 2024 00:1710,479398,409,490345,798,06602,224,128
11May 12, 2024 00:1510,480415,316,568345,835,38502,244,608
12May 12, 2024 00:1510,506417,375,074346,712,84002,224,128
13May 12, 2024 00:1410,707412,400,777353,342,71302,228,224
14May 12, 2024 00:1410,834418,935,073357,507,66902,224,128
15May 12, 2024 00:1410,840432,147,701357,708,66302,228,224
16May 12, 2024 00:1410,855385,515,367302,327,00055,875,0002,371,584
17May 12, 2024 00:1410,885394,209,792303,316,00055,874,0002,289,664
18May 12, 2024 00:1410,956385,267,409303,622,00057,927,0002,420,736