Unique strings v2 Sergey Svistunov

Same problem as Unique strings, but with 3 CPUs available and scoring based on wall time instead of CPU time.

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:38NoSIMD_C#NoSIMD_C#Score: 352,654Success
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:38350,57910,517,355,85710,382,325,000134,926,0002,813,952
2Nov 10, 2024 06:38351,13010,533,898,89310,387,262,000141,880,0002,371,584
3Nov 10, 2024 06:38351,18510,535,540,82410,402,496,000128,894,0002,662,400
4Nov 10, 2024 06:38352,37210,571,170,33410,430,314,000131,890,0002,531,328
5Nov 10, 2024 06:38352,65410,579,632,35510,461,853,000111,902,0002,863,104
6Nov 10, 2024 06:38352,93610,588,084,20010,453,532,000132,905,0002,527,232
7Nov 10, 2024 06:38353,51110,605,315,40210,465,791,000132,895,0002,437,120
8Nov 10, 2024 06:38353,61510,608,460,18410,461,008,000148,857,0002,400,256
9Nov 10, 2024 06:38353,66310,609,877,10410,468,941,000133,884,0002,793,472