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 listSep 1, 2026 10:58Victor MerckléVictor MerckléScore: 4,021Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 1, 2026 10:593,991119,733,616327,465,0002,001,0002,170,880stderr
2Sep 1, 2026 10:594,009120,293,340327,281,0002,026,0002,170,880stderr
3Sep 1, 2026 10:594,012120,383,322328,790,0002,022,0002,170,880stderr
4Sep 1, 2026 10:594,013120,406,308327,120,0002,015,0002,170,880stderr
5Sep 1, 2026 10:594,021120,634,416326,258,0001,038,0002,170,880stderr
6Sep 1, 2026 10:594,021120,632,369327,794,0002,023,0002,170,880stderr
7Sep 1, 2026 10:594,028120,844,247326,401,0001,024,0002,170,880stderr
8Sep 1, 2026 10:594,039121,172,074329,709,0001,033,0002,170,880stderr
9Sep 1, 2026 10:594,479134,374,143345,782,0001,015,0002,170,880stderr