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 15, 2024 11:48Mikhail ShirokovMikhail ShirokovScore: 99,018Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 15, 2024 11:4898,1722,945,173,2962,258,371,000422,508,0002,736,128
2Nov 15, 2024 11:4898,4482,953,447,2782,261,248,000428,771,0002,531,328
3Nov 15, 2024 11:4898,9382,968,136,9032,257,725,000422,948,0002,551,808
4Nov 15, 2024 11:4898,9472,968,403,6422,280,865,000415,969,0002,703,360
5Nov 15, 2024 11:4899,0182,970,530,3452,278,423,000418,871,0002,572,288
6Nov 15, 2024 11:4899,1542,974,629,4092,277,569,000438,687,0002,781,184
7Nov 15, 2024 11:4899,6102,988,294,8522,278,085,000440,050,0002,576,384
8Nov 15, 2024 11:48106,8263,204,790,9292,504,497,000435,044,0002,699,264
9Nov 15, 2024 11:48107,0373,211,121,1412,482,411,000433,500,0002,539,520