{"problem":{"name":"FizzBuzz Sum Hard","description":{"content":"Find the sum of integers between $1$ and $N$ (inclusive) that are not multiples of $A$ or $B$.","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc253_d"},"statements":[{"statement_type":"Markdown","content":"Find the sum of integers between $1$ and $N$ (inclusive) that are not multiples of $A$ or $B$.\n\n## Constraints\n\n*   $1 \\leq N, A,B \\leq 10^9$\n*   All values in input are integers.\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$N$ $A$ $B$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc253_d","tags":[],"sample_group":[["10 3 5","22\n\nThe integers between $1$ and $10$ (inclusive) that are not multiples of $3$ or $5$ are $1,2,4,7$, and $8$, whose sum is $1+2+4+7+8 =22$."],["1000000000 314 159","495273003954006262"]],"created_at":"2026-03-03 11:01:14"}}