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 31, 2026 15:10Victor MerckléVictor MerckléScore: 119,884Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 31, 2026 15:13117,1863,515,605,3074,451,636,00033,264,0002,195,456stderr
2Aug 31, 2026 15:13117,2503,517,517,7804,451,608,00034,822,0002,191,360stderr
3Aug 31, 2026 15:13117,5293,525,894,7104,470,062,00035,423,0002,191,360stderr
4Aug 31, 2026 15:13119,7903,593,724,6664,540,697,00035,481,0002,191,360stderr
5Aug 31, 2026 15:13119,8843,596,520,4724,544,575,00032,840,0002,191,360stderr
6Aug 31, 2026 15:13120,0713,602,145,2154,549,007,00034,638,0002,191,360stderr
7Aug 31, 2026 15:13123,8813,716,436,5654,663,960,00036,600,0002,134,016stderr
8Aug 31, 2026 15:13124,4163,732,502,4874,677,070,00047,961,0002,166,784stderr
9Aug 31, 2026 15:13126,3083,789,269,2464,728,127,00038,724,0002,150,400stderr