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 26, 2024 15:41NoSIMD_C#NoSIMD_C#Score: 306,794Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 26, 2024 15:41300,1459,944,398,1349,680,938,000223,836,0002,408,448
2Nov 26, 2024 15:41300,5889,959,158,9079,680,566,000238,841,0002,490,368
3Nov 26, 2024 15:41303,73410,054,631,0859,794,376,000228,845,0002,269,184
4Nov 26, 2024 15:41303,83310,062,761,8719,841,620,000184,861,0002,461,696
5Nov 26, 2024 15:41306,79410,161,880,9849,913,326,000210,879,0002,277,376
6Nov 26, 2024 15:41307,16610,177,042,2309,921,638,000214,840,0002,551,808
7Nov 26, 2024 15:41307,23010,170,215,8839,911,778,000226,811,0002,355,200
8Nov 26, 2024 15:41308,43610,215,292,4369,965,544,000212,840,0002,498,560
9Nov 26, 2024 15:41311,42010,349,231,69510,065,230,000211,626,0002,564,096