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 8, 2021 06:02Sergey StreminSergey StreminScore: 25,093Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2021 06:0224,946877,565,812823,218,47602,285,568
2Jun 8, 2021 06:0224,947903,015,946823,253,33702,285,568
3Jun 8, 2021 06:0224,997894,861,831824,890,36702,285,568
4Jun 8, 2021 06:0225,058898,317,289826,911,99902,289,664
5Jun 8, 2021 06:0225,093899,922,971828,074,97802,289,664
6Jun 8, 2021 06:0225,111892,965,237828,656,94402,285,568
7Jun 8, 2021 06:0225,128908,431,787829,225,05402,297,856
8Jun 8, 2021 06:0225,155893,320,999830,111,34902,285,568
9Jun 8, 2021 06:0225,192892,354,743831,345,31902,285,568