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 30, 2024 13:52Robert BurkeRobert BurkeScore: 7,266Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 13:526,767285,189,156223,320,66802,269,184
2Jun 30, 2024 13:526,770296,830,459223,397,74402,273,280
3Jun 30, 2024 13:526,832279,350,631225,446,47202,269,184
4Jun 30, 2024 13:527,227266,526,207232,491,0005,986,0002,367,488
5Jun 30, 2024 13:527,228267,246,438232,539,0005,988,0002,510,848
6Jun 30, 2024 13:527,231260,344,175235,615,0002,995,0002,375,680
7Jun 30, 2024 13:527,266265,668,245237,775,0001,998,0002,277,376
8Jun 30, 2024 13:527,270260,734,550236,906,0002,998,0002,375,680
9Jun 30, 2024 13:527,274264,816,493237,040,0003,000,0002,363,392
10Jun 30, 2024 13:527,369262,529,657237,161,0006,004,0002,392,064
11Jun 30, 2024 13:527,380268,396,064239,558,0003,992,0002,473,984
12Jun 30, 2024 13:527,574271,616,772244,956,0004,999,0002,363,392