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 15, 2024 22:55Joad NacerJoad NacerScore: 12,574Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2024 22:5512,369436,859,588301,399,000106,787,0002,281,472
2May 15, 2024 22:5512,424437,465,771305,002,000105,000,0002,342,912
3May 15, 2024 22:5512,430438,513,498305,397,000104,793,0002,351,104
4May 15, 2024 22:5412,446467,945,143410,711,19702,289,664
5May 15, 2024 22:5512,458438,262,290302,337,000108,761,0002,457,600
6May 15, 2024 22:5512,495438,465,854304,521,000107,830,0002,428,928
7May 15, 2024 22:5512,570481,484,426414,814,71402,400,256
8May 15, 2024 22:5412,574477,743,387414,954,73802,285,568
9May 15, 2024 22:5512,618438,382,011307,555,000108,842,0002,355,200
10May 15, 2024 22:5512,646442,435,870306,509,000110,822,0002,293,760
11May 15, 2024 22:5512,704479,849,019419,244,48902,277,376
12May 15, 2024 22:5512,756481,435,847420,938,50902,281,472
13May 15, 2024 22:5512,795445,889,593311,444,000110,802,0002,514,944
14May 15, 2024 22:5512,845448,535,998312,921,000110,972,0002,342,912
15May 15, 2024 22:5412,853490,411,219424,155,69002,281,472