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 30, 2025 18:13Leonardo Pedrozo AmaralLeonardo Pedrozo AmaralScore: 542,529Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2025 18:13539,58316,187,475,84516,061,382,00083,954,0002,621,440
2Jul 30, 2025 18:13539,93116,197,940,12816,054,294,000109,933,0002,547,712
3Jul 30, 2025 18:13541,21616,236,493,12116,105,140,00090,944,0002,543,616
4Jul 30, 2025 18:13541,83916,255,155,43316,122,755,00098,943,0002,588,672
5Jul 30, 2025 18:13542,52916,275,879,78816,137,620,000101,947,0002,519,040
6Jul 30, 2025 18:13543,23616,297,082,26016,148,378,000109,914,0002,703,360
7Jul 30, 2025 18:13543,65916,309,784,39716,161,477,000107,929,0002,613,248
8Jul 30, 2025 18:13545,36416,360,914,38916,229,589,00097,937,0002,678,784
9Jul 30, 2025 18:13545,77216,373,149,93716,245,531,00088,937,0002,539,520