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 listJun 27, 2025 10:47Elijah KinElijah KinScore: 491,666Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2025 10:47490,28316,212,412,69416,063,414,000115,930,0002,338,816
2Jun 27, 2025 10:47490,31816,225,607,76816,068,549,000111,934,0002,519,040
3Jun 27, 2025 10:47491,40716,252,873,15216,122,475,00093,950,0002,314,240
4Jun 27, 2025 10:47491,56916,255,676,65916,143,812,00077,955,0002,379,776
5Jun 27, 2025 10:47491,66616,261,588,87116,123,020,000101,943,0002,486,272
6Jun 27, 2025 10:47494,43116,354,160,25916,220,274,00095,936,0002,314,240
7Jun 27, 2025 10:47495,99616,407,300,88716,275,939,00091,943,0002,473,984
8Jun 27, 2025 10:47496,82716,434,963,81116,288,361,000106,930,0002,433,024
9Jun 27, 2025 10:47500,68616,561,580,05316,430,694,00091,947,0002,400,256