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 20, 2023 15:51Robert BurkeRobert BurkeScore: 7,530Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 20, 2023 15:516,950286,422,196229,341,04502,273,280
2Aug 20, 2023 15:516,960284,868,201229,685,14502,273,280
3Aug 20, 2023 15:516,984296,133,896230,475,64102,269,184
4Aug 20, 2023 15:517,446274,454,440240,719,0004,994,0002,326,528
5Aug 20, 2023 15:517,490273,083,106242,176,0005,003,0002,473,984
6Aug 20, 2023 15:517,519273,793,046242,136,0006,003,0002,367,488
7Aug 20, 2023 15:517,530271,561,902246,500,0001,995,0002,330,624
8Aug 20, 2023 15:517,532271,466,320244,573,0003,993,0002,277,376
9Aug 20, 2023 15:517,542272,831,474242,878,0005,996,0002,269,184
10Aug 20, 2023 15:517,551282,517,406242,195,0006,976,0002,531,328
11Aug 20, 2023 15:517,568271,584,392245,744,0003,995,0002,371,584
12Aug 20, 2023 15:517,573274,693,805245,901,0003,998,0002,359,296