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 listOct 3, 2024 12:01Joad NacerJoad NacerScore: 4,810Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 3, 2024 12:014,728179,927,077153,018,0003,000,0002,519,040
2Oct 3, 2024 12:014,748183,109,505151,700,0004,990,0002,445,312
3Oct 3, 2024 12:304,766178,070,665152,261,0005,008,0002,437,120
4Oct 3, 2024 12:014,785185,769,453153,916,0003,997,0002,445,312
5Oct 3, 2024 12:304,805185,648,608155,575,0002,991,0002,367,488
6Oct 3, 2024 12:014,809182,796,405154,697,0003,992,0002,449,408
7Oct 3, 2024 12:014,810185,021,714153,738,0004,991,0002,453,504
8Oct 3, 2024 12:014,855189,434,488156,209,0004,005,0002,383,872
9Oct 3, 2024 12:014,867193,412,776156,607,0003,990,0002,314,240
10Oct 3, 2024 12:014,867184,253,919156,625,0003,990,0002,506,752
11Oct 3, 2024 12:014,880183,517,806159,030,0002,000,0002,453,504
12Oct 3, 2024 12:304,899187,970,087159,683,0001,996,0002,277,376