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 11, 2024 11:48Vladimir TatVladimir TatScore: 127,804Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 11, 2024 11:48126,4794,207,764,2154,155,807,00017,986,0002,347,008
2Oct 11, 2024 11:48127,4324,238,879,6504,183,282,00021,985,0002,318,336
3Oct 11, 2024 11:48127,5094,236,971,7894,184,831,00022,982,0002,379,776
4Oct 11, 2024 11:48127,5134,236,509,8194,186,937,00020,989,0002,506,752
5Oct 11, 2024 11:48127,8044,251,078,6774,193,546,00023,985,0002,400,256
6Oct 11, 2024 11:48129,0074,293,718,6164,241,243,00015,989,0002,478,080
7Oct 11, 2024 11:48129,7854,314,025,4924,258,901,00023,988,0002,498,560
8Oct 11, 2024 11:48130,5264,336,282,3854,288,374,00018,988,0002,502,656
9Oct 11, 2024 11:48131,8834,383,116,2144,330,145,00021,985,0002,334,720