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 17, 2024 11:59Sybrand AarnoutseSybrand AarnoutseScore: 177,948Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 17, 2024 11:59176,4505,856,066,3655,801,861,00020,988,0002,289,664
2Oct 17, 2024 11:59176,8065,870,202,7915,810,608,00023,986,0002,289,664
3Oct 17, 2024 11:59177,6855,895,839,6315,838,635,00024,985,0002,301,952
4Oct 17, 2024 11:59177,8325,904,211,3425,839,465,00028,982,0002,289,664
5Oct 17, 2024 11:59177,9485,907,836,3405,846,303,00025,988,0002,453,504
6Oct 17, 2024 11:59178,7175,932,393,3745,874,663,00022,986,0002,289,664
7Oct 17, 2024 11:59181,5326,026,155,3295,961,568,00028,983,0002,289,664
8Oct 17, 2024 11:59181,9066,032,802,2425,973,904,00028,980,0002,289,664
9Oct 17, 2024 11:59182,7236,066,487,1276,004,865,00024,986,0002,289,664