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:51matsuoka-601matsuoka-601Error
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:4400000Error: No answer to stdout. Died or killed?
2Jun 20, 2023 06:5110,364399,853,916342,028,19802,240,512
3Jun 20, 2023 06:5110,392406,850,623342,951,19302,236,416
4Jun 20, 2023 06:5110,440416,160,606344,507,79002,224,128
5Jun 20, 2023 06:5110,466368,218,582339,404,0005,989,0002,453,504
6Jun 20, 2023 06:5110,476374,382,221340,725,0004,995,0002,441,216
7Jun 20, 2023 06:5110,484373,209,485340,966,0004,999,0002,494,464
8Jun 20, 2023 06:5110,496370,853,139341,375,0004,990,0002,453,504
9Jun 20, 2023 06:5110,513371,542,535341,929,0004,998,0002,285,568
10Jun 20, 2023 06:5110,524374,914,772341,294,0005,987,0002,371,584
11Jun 20, 2023 06:5110,554370,802,414342,280,0005,987,0002,441,216
12Jun 20, 2023 06:5110,588375,940,892344,417,0004,991,0002,310,144
13Jun 20, 2023 06:5110,629373,680,381344,759,0005,995,0002,498,560