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 7, 2026 05:45Victor MerckléVictor MerckléScore: 67,287Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 05:4665,4901,964,728,9932,086,217,00026,246,0002,637,824stderr
2Jul 7, 2026 05:4666,3591,990,772,9302,114,731,00024,404,0002,383,872stderr
3Jul 7, 2026 05:4667,0962,012,893,3702,138,523,00024,046,0002,641,920stderr
4Jul 7, 2026 05:4667,1662,014,997,4182,141,186,00023,578,0002,641,920stderr
5Jul 7, 2026 05:4667,2872,018,628,6802,142,074,00024,896,0002,637,824stderr
6Jul 7, 2026 05:4667,3402,020,221,9522,138,414,00026,201,0002,125,824stderr
7Jul 7, 2026 05:4667,3642,020,948,3592,140,368,00026,100,0002,383,872stderr
8Jul 7, 2026 05:4667,4702,024,112,2712,149,304,00026,066,0002,637,824stderr
9Jul 7, 2026 05:4667,6462,029,386,9932,146,241,00026,755,0002,383,872stderr