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 listOct 31, 2026 07:57Andrew EpsteinAndrew EpsteinScore: 125,219Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 31, 2026 08:01124,5173,735,510,7734,165,471,00040,484,0002,322,432stderr
2Oct 31, 2026 08:01124,6683,740,059,5314,175,154,00043,674,0002,318,336stderr
3Oct 31, 2026 08:01124,7383,742,141,9084,169,787,00042,735,0002,322,432stderr
4Oct 31, 2026 08:01124,7973,743,928,5164,179,366,00044,833,0002,318,336stderr
5Oct 31, 2026 08:01125,2193,756,584,0954,186,471,00042,414,0002,232,320stderr
6Oct 31, 2026 08:01130,5233,915,700,7734,344,988,00044,118,0002,232,320stderr
7Oct 31, 2026 08:01130,5323,915,985,8104,345,328,00046,147,0002,211,840stderr
8Oct 31, 2026 08:01142,2754,268,251,5674,736,893,00055,507,0002,117,632stderr
9Oct 31, 2026 08:01142,8754,286,275,8974,797,080,00048,193,0002,117,632stderr