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 listDec 4, 2024 15:47NoSIMD_C#NoSIMD_C#Score: 98,871Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 4, 2024 15:4798,1383,274,827,1553,191,591,00046,979,0002,359,296
2Dec 4, 2024 15:4798,2443,279,240,6953,200,069,00041,974,0002,412,544
3Dec 4, 2024 15:4798,3683,276,118,3453,193,189,00052,969,0002,547,712
4Dec 4, 2024 15:4798,7243,288,778,9273,214,920,00042,972,0002,392,064
5Dec 4, 2024 15:4798,8713,289,166,6803,215,791,00046,967,0002,482,176
6Dec 4, 2024 15:4798,9733,299,868,3963,222,125,00043,974,0002,453,504
7Dec 4, 2024 15:4799,0093,295,446,0653,211,324,00055,970,0002,498,560
8Dec 4, 2024 15:4799,0983,298,499,5673,227,248,00042,976,0002,486,272
9Dec 4, 2024 15:4799,7133,320,809,7043,244,552,00045,979,0002,465,792