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 25, 2024 21:17Joad NacerJoad NacerScore: 6,955Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 25, 2024 21:176,257268,382,683206,481,67202,207,744
2Jun 25, 2024 21:176,290270,677,902207,577,00602,211,840
3Jun 25, 2024 21:176,361273,601,624209,918,94102,211,840
4Jun 25, 2024 21:176,893258,073,030203,412,00024,048,0002,383,872
5Jun 25, 2024 21:176,932249,770,067200,773,00027,968,0002,338,816
6Jun 25, 2024 21:176,949259,478,579203,398,00025,923,0002,392,064
7Jun 25, 2024 21:176,955254,432,241201,577,00027,941,0002,396,160
8Jun 25, 2024 21:176,961253,941,568205,741,00023,969,0002,330,624
9Jun 25, 2024 21:176,970255,944,658207,999,00021,999,0002,334,720
10Jun 25, 2024 21:176,987252,738,517207,600,00022,955,0002,424,832
11Jun 25, 2024 21:176,994260,208,122208,836,00021,982,0002,334,720
12Jun 25, 2024 21:177,031260,506,322210,030,00022,003,0002,334,720