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 14, 2021 18:33Andrey TsvetkovAndrey TsvetkovScore: 84,857Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 14, 2021 18:3784,2402,839,696,8342,779,928,25702,252,800
2Jun 14, 2021 18:3384,3142,844,480,7452,782,369,54802,240,512
3Jun 14, 2021 18:3784,6422,852,868,1942,793,189,71502,236,416
4Jun 14, 2021 18:3384,8572,861,135,1372,800,294,80402,244,608
5Jun 14, 2021 18:3385,0352,870,442,7212,806,168,77202,260,992
6Jun 14, 2021 18:3785,1252,872,301,0312,809,121,52402,244,608