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 listJul 8, 2026 12:13Victor MerckléVictor MerckléScore: 2,983Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2026 12:152,93588,053,301229,856,0003,188,0002,711,552stderr
2Jul 8, 2026 12:152,94388,308,439231,160,0003,335,0002,707,456stderr
3Jul 8, 2026 12:152,95688,694,521230,780,0003,251,0002,711,552stderr
4Jul 8, 2026 12:152,96088,802,419232,566,0003,193,0002,711,552stderr
5Jul 8, 2026 12:152,98389,506,760233,974,0003,409,0002,711,552stderr
6Jul 8, 2026 12:153,01090,302,433232,523,0003,267,0002,711,552stderr
7Jul 8, 2026 12:153,03391,018,840234,772,0003,202,0002,703,360stderr
8Jul 8, 2026 12:153,03491,023,019233,877,0004,549,0002,707,456stderr
9Jul 8, 2026 12:153,05291,580,164236,366,0003,092,0002,711,552stderr