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 listJul 25, 2023 15:29matsuoka-601matsuoka-601Score: 11,469Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2023 15:2911,294441,323,398372,707,94802,232,320
2Jul 25, 2023 15:2911,326429,432,577373,743,52902,236,416
3Jul 25, 2023 15:2911,376398,105,722366,411,0008,985,0002,428,928
4Jul 25, 2023 15:2911,405402,346,588368,378,0007,986,0002,326,528
5Jul 25, 2023 15:2911,410444,891,213376,531,93402,220,032
6Jul 25, 2023 15:2911,460407,376,541369,186,0008,980,0002,428,928
7Jul 25, 2023 15:2911,469404,431,251370,503,0007,989,0002,285,568
8Jul 25, 2023 15:2911,488408,065,994370,130,0008,978,0002,355,200
9Jul 25, 2023 15:2911,497407,249,042371,414,0007,987,0002,424,832
10Jul 25, 2023 15:2911,510411,129,183371,832,0007,996,0002,433,024
11Jul 25, 2023 15:2911,639413,720,052374,109,0009,976,0002,428,928
12Jul 25, 2023 15:2911,874423,688,229381,887,0009,970,0002,363,392