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 17, 2023 05:29matsuoka-601matsuoka-601Score: 14,648Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 05:2914,431502,931,027460,202,00016,007,0002,441,216
2Jun 17, 2023 05:2914,448499,149,011461,795,00014,993,0002,449,408
3Jun 17, 2023 05:2914,600511,027,010464,810,00016,993,0002,371,584
4Jun 17, 2023 05:2914,607510,523,863466,054,00015,967,0002,277,376
5Jun 17, 2023 05:2914,627508,569,138467,712,00014,990,0002,277,376
6Jun 17, 2023 05:2914,647546,932,197483,344,85402,248,704
7Jun 17, 2023 05:2914,648573,838,824483,396,99002,232,320
8Jun 17, 2023 05:2914,673519,361,116463,190,00021,008,0002,445,312
9Jun 17, 2023 05:2914,695512,931,349466,970,00017,960,0002,277,376
10Jun 17, 2023 05:2914,715549,229,135485,579,97902,236,416
11Jun 17, 2023 05:2914,741508,802,089472,474,00013,984,0002,437,120
12Jun 17, 2023 05:2914,776510,550,622475,603,00011,990,0002,412,544