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 2, 2024 19:23Joad NacerJoad NacerScore: 7,446Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2024 19:237,266267,773,535183,823,00055,946,0002,437,120
2Jun 2, 2024 19:237,331266,165,251186,942,00054,983,0002,506,752
3Jun 2, 2024 19:237,343302,283,741242,310,85402,244,608
4Jun 2, 2024 19:237,353269,179,292185,731,00056,917,0002,424,832
5Jun 2, 2024 19:237,364270,493,090186,999,00055,999,0002,338,816
6Jun 2, 2024 19:237,437296,539,758245,436,83802,236,416
7Jun 2, 2024 19:237,446266,867,807185,793,00059,933,0002,347,008
8Jun 2, 2024 19:237,448271,290,610190,827,00054,950,0002,433,024
9Jun 2, 2024 19:237,465301,453,162246,339,29302,232,320
10Jun 2, 2024 19:237,471270,308,689187,657,00058,892,0002,375,680
11Jun 2, 2024 19:237,552275,792,856192,177,00057,052,0002,355,200
12Jun 2, 2024 19:237,593274,704,519193,666,00056,902,0002,441,216