API Response (JSON)
{
"problem": {
"name": "A. Fraction",
"description": {
"content": "Petya is a big fan of mathematics, especially its part related to fractions. Recently he learned that a fraction is called _proper_ iff its numerator is smaller than its denominator (_a_ < _b_) and th",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 524288
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF854A"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Petya is a big fan of mathematics, especially its part related to fractions. Recently he learned that a fraction is called _proper_ iff its numerator is smaller than its denominator (_a_ < _b_) and th...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Petya 非常热爱数学,尤其是与分数相关的部分。最近他了解到,一个分数被称为 _真分数_ 当且仅当其分子小于分母(#cf_span[a < b]),并且当分子与分母互质(它们除了 #cf_span[1] 外没有正的公因数)时,该分数被称为 _最简分数_。\n\n在空闲时间,Petya 思考真最简分数,并使用计算器将它们转换为小数。一天,他错误地按下了加法按钮(#cf_span[ + ])而不是除法按...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "Given: \n- Integer $ n $, where $ 3 \\leq n \\leq 1000 $. \n- Find positive integers $ a, b $ such that: \n 1. $ a + b = n $, \n 2. $ a < b $ (proper fraction), \n 3. $ \\gcd(a, b) = 1 $ (irreducible)...",
"is_translate": false,
"language": "Formal"
}
]
}