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 listNov 26, 2024 19:14MatthiasMatthiasScore: 470,480Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 26, 2024 19:14468,26715,492,605,14815,352,887,00099,921,0002,334,720
2Nov 26, 2024 19:14469,36415,527,807,01015,388,059,000100,941,0002,441,216
3Nov 26, 2024 19:14470,29615,561,463,90215,422,833,00096,942,0002,478,080
4Nov 26, 2024 19:14470,31915,555,418,59515,416,611,000103,929,0002,269,184
5Nov 26, 2024 19:14470,48015,559,247,38915,419,920,000105,930,0002,498,560
6Nov 26, 2024 19:14472,06415,618,637,69315,485,165,00092,946,0002,453,504
7Nov 26, 2024 19:14477,11915,786,037,94715,645,988,00098,943,0002,437,120
8Nov 26, 2024 19:14478,76815,834,805,33115,700,396,00098,945,0002,273,280
9Nov 26, 2024 19:14479,98515,877,103,06015,723,570,000115,930,0002,469,888