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 10, 2026 00:14highload-churnerhighload-churnerError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 15, 2026 18:15Andrew Epstein11.34CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 18:30020,020,367,64719,993,849,00015,071,00016,384Killed by timeout
2Oct 10, 2026 01:4710,750322,525,396269,729,00042,064,00020,480
3Oct 10, 2026 01:4710,756322,698,355269,182,00043,092,00020,480
4Oct 10, 2026 01:4710,759322,793,525269,151,00043,194,00020,480
5Oct 10, 2026 01:4710,766322,981,199269,446,00042,924,00020,480
6Oct 10, 2026 01:4710,776323,296,707268,918,00043,889,00020,480
7Oct 10, 2026 01:4710,783323,511,442269,935,00043,043,00020,480
8Oct 10, 2026 01:4710,806324,198,839269,560,00042,844,00020,480
9Oct 10, 2026 01:4710,813324,398,132268,344,00043,959,00020,480
10Oct 10, 2026 01:4710,988329,659,433276,701,00042,477,00020,480