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 15, 2024 23:29Joad NacerJoad NacerScore: 8,926Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 15, 2024 23:298,427300,145,465222,064,00056,016,0002,420,736
2Jun 15, 2024 23:298,428300,672,322224,098,00054,023,0002,437,120
3Jun 15, 2024 23:298,461310,264,270222,171,00057,044,0002,416,640
4Jun 15, 2024 23:298,714312,435,528230,654,00056,914,0002,428,928
5Jun 15, 2024 23:298,869319,056,278233,746,00058,936,0002,326,528
6Jun 15, 2024 23:298,913320,854,265238,099,00056,023,0002,265,088
7Jun 15, 2024 23:298,926371,746,525294,546,56902,228,224
8Jun 15, 2024 23:298,931323,949,373235,988,00058,748,0002,457,600
9Jun 15, 2024 23:298,933320,034,670237,222,00057,568,0002,301,952
10Jun 15, 2024 23:298,957321,673,268237,651,00057,914,0002,519,040
11Jun 15, 2024 23:298,973362,325,060296,114,41402,220,032
12Jun 15, 2024 23:299,206363,934,200303,801,75302,228,224