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 listAug 16, 2026 15:59Victor MerckléVictor MerckléScore: 2,211Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 16, 2026 16:042,17165,135,417163,034,0001,279,0002,449,408stderr
2Aug 16, 2026 16:042,18965,687,202165,555,0001,285,0002,383,872stderr
3Aug 16, 2026 16:042,19265,761,401164,016,0001,267,0002,416,640stderr
4Aug 16, 2026 16:042,20666,186,785166,502,0001,276,0002,416,640stderr
5Aug 16, 2026 16:042,21166,339,968167,234,0001,274,0002,449,408stderr
6Aug 16, 2026 16:042,21766,510,257166,452,0001,258,0002,383,872stderr
7Aug 16, 2026 16:042,22666,793,580166,979,0001,278,0002,383,872stderr
8Aug 16, 2026 16:042,23266,970,929163,946,0001,270,0002,449,408stderr
9Aug 16, 2026 16:042,25367,605,914167,140,0001,004,0002,416,640stderr