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 1, 2026 09:30Victor MerckléVictor MerckléScore: 216,748Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 1, 2026 09:32215,6647,139,326,0977,077,943,00038,977,0002,330,624stderr
2May 1, 2026 09:32215,8367,143,708,7897,081,628,00040,974,0002,330,624stderr
3May 1, 2026 09:32216,2107,155,134,7067,092,967,00041,976,0002,330,624stderr
4May 1, 2026 09:32216,6907,175,234,4327,115,813,00034,979,0002,375,680stderr
5May 1, 2026 09:32216,7487,175,709,5467,111,742,00040,969,0002,330,624stderr
6May 1, 2026 09:32216,9267,178,777,9317,119,577,00038,981,0002,375,680stderr
7May 1, 2026 09:32216,9817,186,589,1517,123,407,00036,981,0002,387,968stderr
8May 1, 2026 09:32217,1377,191,520,4007,132,577,00032,974,0002,375,680stderr
9May 1, 2026 09:32218,3487,228,825,5007,169,510,00035,977,0002,326,528stderr