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 16, 2024 11:39Joad NacerJoad NacerScore: 6,487Success
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 11:395,648258,886,737186,385,86302,224,128
2Jun 16, 2024 11:395,700259,016,745188,094,48002,351,104
3Jun 16, 2024 11:395,703252,737,962188,189,78902,220,032
4Jun 16, 2024 11:396,448237,323,104186,806,00025,973,0002,404,352
5Jun 16, 2024 11:396,459242,391,221187,131,00026,018,0002,396,160
6Jun 16, 2024 11:396,477236,539,368188,765,00024,968,0002,396,160
7Jun 16, 2024 11:396,487240,928,120191,062,00023,007,0002,400,256
8Jun 16, 2024 11:396,489244,457,772192,111,00022,012,0002,359,296
9Jun 16, 2024 11:396,493240,746,751190,244,00024,030,0002,359,296
10Jun 16, 2024 11:396,506240,419,326189,743,00024,966,0002,396,160
11Jun 16, 2024 11:396,509237,415,127191,814,00022,977,0002,351,104
12Jun 16, 2024 11:396,533243,080,368193,621,00021,957,0002,396,160