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 listAug 27, 2025 18:04Aryan JainAryan JainScore: 491,643Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 27, 2025 18:04487,12616,112,267,28515,968,240,000106,927,0002,510,848
2Aug 27, 2025 18:04489,25816,189,267,95316,041,603,000103,926,0002,301,952
3Aug 27, 2025 18:04489,48716,186,853,63916,055,144,00097,939,0002,293,760
4Aug 27, 2025 18:04491,20316,250,192,97816,111,746,00097,937,0002,289,664
5Aug 27, 2025 18:04491,64316,263,950,86216,111,281,000112,924,0002,265,088
6Aug 27, 2025 18:04492,81016,301,018,27516,151,802,000110,936,0002,486,272
7Aug 27, 2025 18:04494,47916,355,976,90016,221,857,00095,940,0002,510,848
8Aug 27, 2025 18:04494,69616,362,482,03616,215,034,000109,925,0002,416,640
9Aug 27, 2025 18:04499,23116,513,111,02216,389,696,00084,941,0002,510,848