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 18:10Joad NacerJoad NacerScore: 8,587Success
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 18:108,420330,441,425277,851,51402,228,224
2May 28, 2024 18:108,432332,278,380278,240,95302,228,224
3May 28, 2024 18:108,436334,960,472278,392,00902,236,416
4May 28, 2024 18:108,437306,473,016212,554,00065,861,0002,404,352
5May 28, 2024 18:108,489304,812,280211,102,00069,033,0002,281,472
6May 28, 2024 18:108,586315,316,481193,542,00089,787,0002,428,928
7May 28, 2024 18:108,587310,856,012212,521,00070,840,0002,424,832
8May 28, 2024 18:108,624314,969,798210,698,00073,894,0002,387,968
9May 28, 2024 18:108,635307,241,650195,961,00088,982,0002,314,240
10May 28, 2024 18:108,648314,935,589204,558,00080,825,0002,367,488
11May 28, 2024 18:108,663313,767,782214,914,00070,971,0002,428,928
12May 28, 2024 18:108,670308,533,577211,090,00075,032,0002,277,376