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 10, 2025 05:40nnScore: 211,157Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 10, 2025 04:47209,5936,945,653,3876,867,612,00048,968,0002,453,504
2May 10, 2025 04:47210,2276,974,703,0196,898,505,00038,974,0002,437,120
3May 10, 2025 04:47210,2796,977,914,3806,885,252,00053,970,0002,457,600
4May 10, 2025 04:47210,5836,980,951,9636,909,261,00039,978,0002,289,664
5May 10, 2025 05:40210,9006,986,203,4136,903,721,00055,965,0002,502,656
6May 10, 2025 04:47211,0676,995,507,8836,922,243,00042,976,0002,359,296
7May 10, 2025 04:47211,1576,991,607,4366,922,219,00045,974,0002,314,240
8May 10, 2025 04:47211,5167,018,054,0636,939,070,00040,970,0002,437,120
9May 10, 2025 04:47211,8937,023,799,6286,942,501,00049,967,0002,281,472
10May 10, 2025 04:47213,0917,067,575,6606,984,037,00047,965,0002,338,816
11May 10, 2025 05:40218,4077,243,386,7377,155,450,00051,966,0002,367,488
12May 10, 2025 05:40224,7237,448,269,4177,376,891,00038,978,0002,396,160