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:40Joad NacerJoad NacerScore: 5,965Success
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:405,776253,254,300190,595,28102,224,128
2Jun 15, 2024 23:405,786264,308,022190,925,57502,220,032
3Jun 15, 2024 23:405,833258,529,100192,474,68102,224,128
4Jun 15, 2024 23:405,887220,281,583167,235,00027,038,0002,465,792
5Jun 15, 2024 23:405,916223,009,577171,324,00023,905,0002,396,160
6Jun 15, 2024 23:405,937222,195,442169,935,00025,990,0002,433,024
7Jun 15, 2024 23:405,965223,155,518173,857,00022,981,0002,363,392
8Jun 15, 2024 23:405,971221,258,795171,043,00026,006,0002,363,392
9Jun 15, 2024 23:406,019220,144,777173,682,00024,954,0002,363,392
10Jun 15, 2024 23:406,019227,684,287171,688,00026,951,0002,363,392
11Jun 15, 2024 23:406,040229,075,973175,396,00023,917,0002,400,256
12Jun 15, 2024 23:406,042229,948,149173,472,00025,921,0002,363,392