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 listJun 20, 2023 06:56matsuoka-601matsuoka-601Score: 10,495Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2023 06:5610,369406,883,547342,180,16702,256,896
2Jun 20, 2023 06:5610,373402,976,280342,310,52702,256,896
3Jun 20, 2023 06:5610,373403,247,385342,323,24802,244,608
4Jun 20, 2023 06:5610,439368,347,583339,495,0004,992,0002,322,432
5Jun 20, 2023 06:5610,444372,060,198339,659,0004,994,0002,486,272
6Jun 20, 2023 06:5610,476366,549,592340,718,0004,995,0002,465,792
7Jun 20, 2023 06:5610,495372,870,372341,359,0004,990,0002,265,088
8Jun 20, 2023 06:5610,504370,146,872341,637,0004,994,0002,355,200
9Jun 20, 2023 06:5610,527370,689,195341,393,0005,989,0002,285,568
10Jun 20, 2023 06:5610,542373,702,259342,880,0004,998,0002,306,048
11Jun 20, 2023 06:5610,606378,082,158344,997,0004,999,0002,441,216
12Jun 20, 2023 06:5610,649378,172,162346,411,0004,991,0002,285,568