{"problem":{"name":"我家的门牌号","description":{"content":"我家住在一条短胡同里，这条胡同的门牌号从 $1$ 开始顺序编号。 若其余各家的门牌号之和减去我家门牌号的两倍，恰好等于 $n$，求我家的门牌号及总共有多少家。数据保证有唯一解。","description_type":"Markdown"},"platform":"Luogu","limit":{"time_limit":1000,"memory_limit":131072},"difficulty":{"LuoguStyle":"P1"},"is_remote":true,"is_sync":true,"sync_url":null,"sign":"LGB2133"},"statements":[{"statement_type":"Markdown","content":"我家住在一条短胡同里，这条胡同的门牌号从 $1$ 开始顺序编号。\n\n若其余各家的门牌号之和减去我家门牌号的两倍，恰好等于 $n$，求我家的门牌号及总共有多少家。数据保证有唯一解。\n\n## Input\n\n一个正整数 $n$。$n<100000$。\n\n## Output\n\n一行，包含两个正整数，分别是我家的门牌号及总共有多少家，中间用单个空格隔开。\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"LGB2133","tags":["函数与递归"],"sample_group":[["100\n","12 16\n"]],"created_at":"2026-03-03 11:09:25"}}