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 18, 2023 05:44matsuoka-601matsuoka-601Score: 12,776Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 18, 2023 05:4410,413410,343,162343,621,72202,260,992
2Jun 18, 2023 05:4411,987470,513,299395,577,48202,240,512
3Jun 18, 2023 05:4412,018448,984,688396,601,25702,244,608
4Jun 18, 2023 05:4412,668445,390,700409,041,0009,000,0002,441,216
5Jun 18, 2023 05:4412,721441,564,571410,791,0008,995,0002,289,664
6Jun 18, 2023 05:4412,751446,387,489411,786,0008,995,0002,293,760
7Jun 18, 2023 05:4412,776445,124,270413,603,0007,992,0002,449,408
8Jun 18, 2023 05:4412,792450,168,288413,146,0008,981,0002,285,568
9Jun 18, 2023 05:4412,822451,572,308414,130,0009,002,0002,449,408
10Jun 18, 2023 05:4412,831455,080,031414,449,0008,988,0002,277,376
11Jun 18, 2023 05:4412,911453,097,915416,077,0009,977,0002,453,504
12Jun 18, 2023 05:4412,994453,581,097418,798,0009,995,0002,449,408