{"problem":{"name":"Four Variables","description":{"content":"You are given a positive integer $N$.   Find the number of quadruples of positive integers $(A,B,C,D)$ such that $AB + CD = N$. Under the constraints of this problem, it can be proved that the answer ","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc292_c"},"statements":[{"statement_type":"Markdown","content":"You are given a positive integer $N$.  \nFind the number of quadruples of positive integers $(A,B,C,D)$ such that $AB + CD = N$.\nUnder the constraints of this problem, it can be proved that the answer is at most $9 \\times 10^{18}$.\n\n## Constraints\n\n*   $2 \\leq N \\leq 2 \\times 10^5$\n*   $N$ is an integer.\n\n## Input\n\nThe input is given from Standard Input in the following format:\n\n$N$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc292_c","tags":[],"sample_group":[["4","8\n\nHere are the eight desired quadruples.\n\n*   $(A,B,C,D)=(1,1,1,3)$\n*   $(A,B,C,D)=(1,1,3,1)$\n*   $(A,B,C,D)=(1,2,1,2)$\n*   $(A,B,C,D)=(1,2,2,1)$\n*   $(A,B,C,D)=(1,3,1,1)$\n*   $(A,B,C,D)=(2,1,1,2)$\n*   $(A,B,C,D)=(2,1,2,1)$\n*   $(A,B,C,D)=(3,1,1,1)$"],["292","10886"],["19876","2219958"]],"created_at":"2026-03-03 11:01:14"}}