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 listNov 10, 2024 06:36NoSIMD_C#NoSIMD_C#Score: 318,147Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 10, 2024 06:36314,86410,428,396,36610,258,603,000131,904,0002,416,640
2Nov 10, 2024 06:36315,23710,444,112,98110,268,911,000133,907,0002,363,392
3Nov 10, 2024 06:36316,81310,491,535,03010,317,943,000136,893,0002,437,120
4Nov 10, 2024 06:36317,85810,521,492,69810,361,407,000127,918,0002,301,952
5Nov 10, 2024 06:36318,14710,534,850,38410,353,960,000144,901,0002,408,448
6Nov 10, 2024 06:36318,67610,558,973,40410,388,400,000127,906,0002,437,120
7Nov 10, 2024 06:36321,79110,664,167,03910,492,220,000126,893,0002,531,328
8Nov 10, 2024 06:36335,40211,215,161,25510,943,486,000124,766,0002,310,144
9Nov 10, 2024 06:36336,28711,242,728,36310,977,727,000119,735,0002,506,752