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 25, 2022 15:49Bernard TeoBernard TeoScore: 11,464Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 25, 2022 15:4911,408433,987,623376,465,59302,281,472
2Aug 25, 2022 15:5611,432455,734,135377,259,69902,277,376
3Aug 25, 2022 15:5111,433438,593,642377,283,76702,285,568
4Aug 25, 2022 15:5111,454447,472,830377,988,37002,277,376
5Aug 25, 2022 15:5611,464449,658,429378,301,39402,273,280
6Aug 25, 2022 15:4911,476447,383,478378,712,52602,285,568
7Aug 25, 2022 15:5611,477465,849,693378,751,87002,277,376
8Aug 25, 2022 15:5111,501443,255,612379,518,28802,281,472
9Aug 25, 2022 15:4911,525441,003,701380,324,95402,289,664