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 listFeb 13, 2024 12:32matsuoka-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 16, 2024 03:0600000Error: No answer to stdout. Died or killed?
2Feb 13, 2024 12:326,879304,224,668227,009,92602,187,264
3Feb 13, 2024 12:326,884293,842,257227,178,91502,306,048
4Feb 13, 2024 12:326,924301,179,798228,486,26302,187,264
5Feb 13, 2024 12:326,933251,668,477206,820,00021,980,0002,383,872
6Feb 13, 2024 12:326,955254,367,367209,543,00019,956,0002,392,064
7Feb 13, 2024 12:326,956255,812,584210,599,00018,963,0002,510,848
8Feb 13, 2024 12:326,960256,679,885207,699,00021,968,0002,400,256
9Feb 13, 2024 12:326,973252,995,673209,091,00021,009,0002,342,912
10Feb 13, 2024 12:326,996253,004,019208,872,00021,986,0002,428,928
11Feb 13, 2024 12:326,998252,768,654212,928,00017,993,0002,379,776
12Feb 13, 2024 12:327,020255,288,530216,684,00014,978,0002,404,352
13Feb 13, 2024 12:327,032255,702,396209,040,00023,004,0002,375,680